Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
melon.melon
Yak Posting Veteran
76 Posts |
Posted - 2009-01-06 : 00:02:17
|
Have got a problem while compiling the Visual Studio applicationand any help is appreciated. ThanksThe Build was successful but debug give errors in IE-Compiler Error Message: The type or namespace name 'App' could not be found (are you missing a using directive or an assembly reference?)- Global.asax error: The type or namespace name 'App' could not be found (are you missing a using directive or an assembly reference?)- Global.asax error: Cannot implicitly convert type 'App' to 'object'- Global.asax error: The type or namespace name 'App2' could not be found (are you missing a using directive or an assembly reference?)I have added references - using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.Net.Mail;Not sure if the problem is with the incomplete compilationon-demand compilation option cannot be done since it is not a web app. Tried converting to web app but no use.Note: 'App' is one of the classes. |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
melon.melon
Yak Posting Veteran
76 Posts |
Posted - 2009-01-06 : 04:02:47
|
Thanks, i'll have a look there =) |
|
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2009-01-06 : 15:36:42
|
The above error means, you are using the word App in your code, but did not declare it as a variable and neither does it exist as a namespace in any of the above namespaces.You should have put your full code here. |
|
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2009-01-06 : 15:39:58
|
c# is quite an unforgiving syntax, unlike vbscript. You MUST declare all your variables, or understand the framework well. |
|
|
|
|
|