Runtime error


https://forum.kartris.com/Topic2465.aspx
Print Topic | Close Window

By pw1980 - Wed 16 Oct 2013
hi

I'm trying to install the shop on a shared hosting platform.
I've done this before with no problems.

This time however i just get a runtime error message instead of it launching the install process.

Server Error in '/' Application.

Runtime Error

Description: An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page for the first exception. The request has been terminated.


I've tried re-uploading everything but still get the same error.

Any ideas?

Thanks
By pw1980 - Wed 16 Oct 2013
I've found the error was with this line

<identity impersonate="false"/>

Does that make a difference to the settings?
Can the shop run without it?

It runs the install without it, just want to make sure it doesn't have a knock on effect

Thanks
By Paul - Wed 16 Oct 2013
This is to do with the Windows user that the site runs as.

There is more info here:

http://msdn.microsoft.com/en-us/library/aa292118%28v=vs.71%29.aspx
By pw1980 - Wed 16 Oct 2013
So this in theory this is set by default. So this won't effect the overall functionality or performance of the site if it's removed from the config file?
By pw1980 - Wed 16 Oct 2013
I've managed to install the shop but now get a permissions error.Is this simply the settings for the database user? Or could there be another reason?
The user has full access and there were no issues creating the tables and stored procedures.

Server Error in '/' Application.

The EXECUTE permission was denied on the object '_spKartrisConfig_GetforCache', database 'testKartrisShop', schema 'dbo'.

By Paul - Wed 16 Oct 2013
The error suggests that the user which the site is running as does not have proper permissions on the database. This could be because you've changed the impersonate tag so the user the site is now running as is not the one the hosts have set up for the db.

I'd contact the host to ask them which db user to use (i.e. which has db admin permissions for the database).

Generally these days sites should run with impersonate = false, and use 'pass through' security (can Google this to explain what it is).