Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parser Error Message: Could not load type '_Default'.

Status
Not open for further replies.

ironhide1975

Programmer
Joined
Feb 25, 2003
Messages
451
Location
US
Ok I've tried to find some sort of answer to this problem on the web. I have developed an ASP.Net website in Visual Studio and it runs fine on my local machine. But when I try to run it on a server I get the following cryptic error.

Code:
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

Parser Error Message: Could not load type '_Default'.

I have tried to publish the site using visual studio, but I get a "Web User control is ambiguous" error. I'm currently awaiting some sort of answer for this issue, but beyond that, I am unsure how to get this resolved.

The websites I have checked indicate I need to rebuild the site and copy over the DLL or /bin files, but I don't see these anywhere in my site. Where are these located when you create a site.

Any help is appreciated, thank you again.

 
Update:
I resolved the user control issue by removing the ID specified in the user control.

I was able to publish the files to the server successfully, but now I get this error.

Code:
Parser Error 
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

Parser Error Message: Could not load the assembly 'App_Web_xuztxx83'. Make sure that it is compiled before accessing the page.

Source Error: 


Line 1:  <%@ page language="VB" autoeventwireup="true" debug="True" inherits="_Default, App_Web_xuztxx83" %>
Line 2:  <%@ Register TagPrefix="uc1" TagName="headerbar" Src="Header.ascx" %>
Line 3:  <%@ Register TagPrefix="uc2" TagName="footer" Src="Footer.ascx" %>
 

Source File: C:\Inetpub\default.aspx    Line: 1

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top