TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Anna Hawks
NA
193
0
Program not recognizing global.asax variable
Jun 3 2008 5:53 PM
I have a Visual Studio 2005 C# web project. In the global.asax file, I have declared the sqlConnections I need for the programs. ONE of the web pages does not recognize the global.asax file.
When I try to write: ddConnect = Global.ddCon;
I get: "The name 'Global' does not exist in the current context.
Why are all the other pages finding it and THIS one is not?!
One other comment that might help is that I have an icon (to pretty up a header) and, although I DO have alternate text defined, I get:
"WCAG 1.1 : Image is missing a text equivalent (either an alt="X" or longdesc="X"). Consider brief alternative text that describes the information that the image conveys. You can use the picture properties dialog to add alternative text."
If I take out the earlier line trying to access the global file, THAT message goes away.
Any help would be GREATLY appreciated!
Reply
Answers (
2
)
Prerequisites for Office Add-in
deploying a install package