View Full Version : Parser Ambiguity Error

A Random Apple
12-21-2012, 11:35 PM
Hey guys, I've been working on a login/registration script and been getting some good ground, until tonight when I tried to implement a system in which the user couldn't register a username which was already in my database. Whenever I try to debug the site, I keep getting a Parser error which I'm completely unaware of how to handle. A copy of the error is below and I'm currently running my code in Visual C# using Microsoft's Visual Studio 2010. If you need any snippets of code from any pages, just ask. It does this for both the index.aspx and register.aspx page. Thanks for the help!

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: The type 'WebApplication1.register' is ambiguous: it could come from assembly 'C:\Users\Muyiwa\Documents\Desktop\Computing Project\WebApplication1\bin\WebsitePractice.DLL' or from assembly 'C:\Users\Muyiwa\Documents\Desktop\Computing Project\WebApplication1\bin\WebApplication1.DLL'. Please specify the assembly explicitly in the type name.

Source Error:

Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="register.aspx.cs" Inherits="WebApplication1.register" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Source File: /register.aspx Line: 1

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

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum