I had published my .Net Nuke 4.0 solution after changing the database connection strings. Then, I had uploaded the published content to my root folder in my hosting space. Created a database that I had listed in the connection string. I had invoked default.aspx by pointing my browser to www.myashram.org/default.aspx
I am getting the following error:
Access to the path 'd:\hosting\aravala\SiteUrls.config' is denied.
Exception Details: System.UnauthorizedAccessException: Access to the path 'd:\hosting\aravala\SiteUrls.config' is denied.
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
I asked the godaddy support team to give the network service account the necessary permissions on my root folder, they reply saying:
"Dear Sir/Madam,
Thank you for contacting hosting support.
Unfortunately you will be unable to modify the permissions on your root directory, as this is managed at the server level in our Shared environment. You will need to use a subfolder when allowing a script to write to it.
Thank you for your understanding in this matter.
Regards,
Advanced Hosting Support"
Does this make sense to any of you. Do, i have to look for a different hosting company or do you think there is a communication gap here. This is my first time hosting a site.
Thanks,
Venkat