Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Server Error in '/root2' Application.

$
0
0

I have a hosted website.

The site I was hosting it on was using .Net 3.5, but it closed its doors. I have moved my site over to a new hosting provider that allows me to use .Net 4.5.

I created a new project and dropped my files into it.

The root folder displays fine, and has this Web.config information:

<?xml version="1.0"?><configuration><appSettings><add key="hidden" value="*****"/><add key="hidden" value="*****"/></appSettings><connectionStrings><clear/><add name="hidden" connectionString="Data Source=hidden;" providerName="System.Data.SqlClient"/></connectionStrings><system.web><compilation debug="true" targetFramework="4.5.1" /><customErrors mode="Off"/><httpRuntime targetFramework="4.5.1" /></system.web></configuration>

I have a sub folder, called '/root2' for the sake of the title, but in reality it is called '/xr'.

I found this post on Stack Overflow: http://stackoverflow.com/questions/5890207/server-error-in-application-asp-net

On the host, I have set that be an IIS application folder with Read/Write permission. It shares very little with the root folder, but does pull in some of the CSS settings.

The Web.config for it is much shorter:

<?xml version="1.0" encoding="UTF-8"?><configuration><connectionStrings><clear/></connectionStrings><system.web><customErrors mode="Off"/>  <compilation debug="true" /></system.web></configuration>

When I attempt to navigate to the folder using the links on my website, I get theServer Error in '/xr' Application with the Parser Error Message: "Could not load type 'jp2code.net.XRMaster'."

This might be a hint for someone. At the bottom of the failing web page is the message:

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.81.0

Does that mean anything?

I have attempted contacting the hosting company about this, but their curt response was:

Dear Customer,

xr folder has been created as a .net application. Now http://www.jp2code.net/xr/ shows code error. You will need to contact your website developer to check it for you.

Thank you.

Well, this is a hosted site, so I am the website developer. No help from them, apparently.

When I try to run this Visual Studio project on my PC (at home or at work), I get a blank page. I even added an override for OnInit in theMasterPageXRMaster and put a break point there. It just does not hit it.

Is there something in my project that is mucked up or am I missing something simple?

Site: www.jp2code.net

Click on Projects, then click on XR1200. You will see the error.

Is there any other information I can supply?


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>