Developer forum

Forum » Development » New solution. Administrator step fails

New solution. Administrator step fails

Kasper Legarth
Reply

Hello,

I have been trying to setup a new solution. Both locally and on a test server. I use an application folder and a visual directory for the files folder.
I then go trough the install wizards with no problems regarding database og creating files folder. But when i are trying to create the administrator user, it never stop spinding and i have a error in the console: "Uncaught SyntaxError: Unexpected token '<'  at XMLHttpRequest.createUserEnd (VM10 Default.aspx:167:50)" and the line is the result of the "createUserEnd" function. The line is: "var result = eval("(" + xmlhttp.responseText + ")");"

There is no response due to redirect of the response? (see screenshot)

What am I overlooking?

error3.png

Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Could be missing permissions on the database to insert the user maybe?

Is your administrator in the database after the error?

 
Kasper Legarth
Reply

Yes. By the look of it, everything is there in the databse. But the Administrator havn't got the information used in the install wizard.

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

There is probably an exception somewhere - you might be able to see it if you run the entire installer with developer tools open.

Or you can look in the eventviewer on your machine and see if you can locate the exception.

Might also be stored in the Generallog table in the Dynamicweb database.

 

You must be logged in to post in the forum