Solved

Copying a Bin folder in a asp/aspx enviroment, but the program now does not load from new location

Posted on 2006-07-10
5
183 Views
Last Modified: 2010-04-06
The website I need to update has a program in 'root/mobile/bin' it is called from 'root/mobile/checkme.aspx' and all this works fine.
I want to use this program in another location 'root/roads/bin' and call it form 'root/roads/checkme.aspx' ,but when i move it to the new web branch(roads) i get

Server Error in '/login' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: File or assembly name TestConnect, or one of its dependencies, was not found.

Source Error:


Line 1:  <%@ Page Explicit="True" Language="C#" %>
Line 2:  
Line 3:  <%@ Assembly Name="TestConnect" %>
Line 4:  
Line 5:  <%@ Import Namespace="TestConnect" %>
 
--------------------------------------------------------------------------
Why can't 'root/roadscheckme.aspx'  go into its Bin folder to use the TestConnect.dll



0
Comment
Question by:NESupply
  • 3
  • 2
5 Comments
 
LVL 35

Expert Comment

by:YZlat
ID: 17076946
open .webinfo file (found in your application directory) and modify the path there
0
 

Author Comment

by:NESupply
ID: 17081122
Is there any other ways to reference my TestConnent.dll?  I found a couple .webinfo under wwwroot but looked like they were for some older apps.
0
 

Author Comment

by:NESupply
ID: 17081250
In the 'root/mobile/'  (branch that works- can call the program in bin folder). The only files in 'root/mobile/'  that seem like they may do something are Web.config and Global.asax, but i don't see any path info within these files.
0
 
LVL 35

Accepted Solution

by:
YZlat earned 300 total points
ID: 17082667
there should be a file named ProjectName.vbproj.webinfo
0
 
LVL 35

Expert Comment

by:YZlat
ID: 17082835
did you find it?
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

830 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