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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Type Conversion Error

Status
Not open for further replies.

bam720

Technical User
Sep 29, 2005
289
US
When I try to run my code I get this compilation error:
Code:
 Compiler Error Message: CS0029: Cannot implicitly convert type 'Roper [c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ui\082a5137\5a254d4b\App_Code.w0dzlu_c.dll]' to 'Roper [c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ui\082a5137\5a254d4b\App_Web_dc35_lbx.4.cs(14)]'

We're not sure whats going on and if anyone can give some pointers to help us out we'd be much obliged.
 
turns out you can't have aspx pages the same names as classes regardless of folder distribution
 
You should be able to have 2 aspx pages with the same name, but I guess I could see how the Class Names in the related Code Files would have to be different.

Senior Software Developer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top