Solved

How to access App_WebReferences

Posted on 2011-09-16
9
2,660 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 
LVL 10

Accepted Solution

by:
John Claes earned 375 total points
ID: 36547822
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
ID: 36548473
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
ID: 36548722
Here is the one working  and the one not working


  good

webReference.png
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
LVL 10

Assisted Solution

by:John Claes
John Claes earned 375 total points
ID: 36566445
Witch one is not working ?
0
 

Author Comment

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

Assisted Solution

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

Author Comment

by:mattegol
ID: 36585800
@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
ID: 36586091
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
ID: 36915809
I made the reference from an external url instead, and it worked better.
I award you for your efforts, thanks.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Groupbox Control ? 2 29
Google Maps with Webforms 1 29
Need help with a query 3 39
Need to find a web event on the IIS server 4 11
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

726 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