Solved

How to access App_WebReferences

Posted on 2011-09-16
9
2,396 Views
Last Modified: 2012-05-12
Hi all,

I'm not able to use my files in the App_WebReferences folder in my project. They cant be found when I try to access them.

I have no problem access the classes in App_Code folder.

I'm  working with VB on this project, on another project where I have used C#, it works with no problem...
0
Comment
Question by:mattegol
  • 5
  • 3
9 Comments
 
LVL 10

Accepted Solution

by:
John Claes earned 375 total points
Comment Utility
some extra info

Add and Remove Web References
http://msdn.microsoft.com/en-us/library/d9w023sx.aspx


It looks like the aap_webreferences folder is not recognized by the projects as being the App_webreferences folder.
can you send me the full error message you receive?
0
 

Author Comment

by:mattegol
Comment Utility
When I try to call Account()

Dim test As New testPV.Account()

The error is:

Type "testPV.Account" is not defined

0
 

Author Comment

by:mattegol
Comment Utility
Here is the one working  and the one not working


  good

webReference.png
0
 
LVL 10

Assisted Solution

by:John Claes
John Claes earned 375 total points
Comment Utility
Witch one is not working ?
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:mattegol
Comment Utility
The one with the text bad in top right of the image
0
 
LVL 83

Assisted Solution

by:CodeCruiser
CodeCruiser earned 125 total points
Comment Utility
Did you just copy the references folder from the working app to non working app?
0
 

Author Comment

by:mattegol
Comment Utility
@CodeCruiser

I've tried that :)

But also to add web reference the right way.... I get this error: addWebRefernece
I have full control on the folder(s) so I dont know why I cant access it.
0
 
LVL 10

Assisted Solution

by:John Claes
John Claes earned 375 total points
Comment Utility
Looking at the screenshots and your comment :

When creating a webReference you're not going directly to the folder but through your local IIS.
Can you check the folowing settings ?
* What is the account that connects to the webRefence path (local site - app pool)
* does that account have enough rights to the folder.

regards
0
 

Author Closing Comment

by:mattegol
Comment Utility
I made the reference from an external url instead, and it worked better.
I award you for your efforts, thanks.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now