Configuration :: Ddl's In Bin Folder Are Not Being Referenced?
Feb 11, 2011
I have a weird problem. In my web site project, i am using a lot of third party dll's and i dont want to install them in GAC. So, I had placed all those dll's in Bin folder of application root. When i run the application, it is saying that reference is either incorrect or dll file is missing.
i am running the application from clearcase. I have full execute permissions in that folder in clearcase.
In the solution explorer, when i right click on my project and go to "property pages", it is only showing dll's from GAC only. None of the dll's I had kept in bin folder are being displayed.
View 2 Replies
Similar Messages:
May 15, 2010
We store backup archives in subfolders of a folder on one of the server's external USB drive. I would like to have an ASP.NET app read the contents of this folder so the manager can view the backup files to confirm backups are working and optionally delete these backup files when an old drive is reconnected so it can be used for the next weeks backups.
This backup folder is oubviously outside the server's webroot. Is there some way I can grant authority so the ASP.Net app can access this folder for this purpose? I would be using VS Web Express, so can't create any signed packages and such.
View 3 Replies
Mar 14, 2011
When we select pull down menu Build -> Publish .... website. The cs extension file dropped into bin folder instead of root folder.
View 2 Replies
Mar 11, 2010
I have an ASP.NET website and I want to find the /bin/[Configuration] folder to use an external tool (an exe file). When I use reflection to get calling assemblies location it returns something similar to:
C:WindowsMicrosoft.NETFramework\...Temporary ASP.NET Filesa1388a5e\...my.dll
Since each dll has its own directory under the temp ASP.NET Files this fails for me. How can I get the location of the compiled binary folder where the dll's and the .exe is (i.e. bin/) instead of asp.net's temporary cache?
View 3 Replies
Sep 21, 2010
I have an asp page that needs to download files off of a virtual directory.
I wanted to add the virtual directory to the Visual studio app.
View 2 Replies
Nov 17, 2010
We developed a dll that we reference and use in different web sites. Right now this dll is in the bin folder of each web and when we update the dll we have to copy the new version of the dll in all and each webs' bin folder.
I wonder if these webs can reference to a dll that it is not in the bin folder so to have the dll phisically in only one place (let's imagine c:inetpubinmy.dll), much easier to mantain and update.
View 4 Replies
Jan 4, 2011
How to use Sub domain to Sub folder like
sample.mydomain.com -----> mydomain.com/sample.
am created sub domain in sample i am uploaded all the files in sub domain its working fine when am using link like
sample.mydomain.com
but am using sub folder means its display the server Error / in Application
sub folder link
mydomain.com/sample.
View 2 Replies
Jun 11, 2010
I have deployed my website in ftp server.now i need to upload image to my database and place images in upload folder. while uploading images i'm getting the below error.
Access to the path 'd:hostingmystieproductImagesvaara.jpg' is denied.
Description:
An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.
Exception Details:
System.UnauthorizedAccessException: Access to the path 'd:hostingmysiteproductImagesvaara.jpg' is denied.
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
View 1 Replies
Aug 16, 2010
We have a client with a SBS 2003 server, very standard setup.
The ms.netframeworkv2.0.50727 emporary asp.net files oot folder is filling up with 590kb folders at the rate of around 6 per min.!
They seem to point at a sage CRM package (installed on the server) but Sage say its a problem with IIS and not them!
View 1 Replies
Jul 12, 2010
From some reasons I added virtual directory to my site- e.g. the entire site running under one domain and one part from another and different folder. I need to read some data that's stored in the main root of the site in text file... but the .NET frame work (and I think iis itself) doesn't give simple access to another folder that declared as different site.
Are there is a way to read the text file? Let's say my main site is-www.domain.com and the virtual directory is-www.domain.com/newsite, (the folders are different, off course, even in different disks) can I get text data from the main root?
View 5 Replies
Dec 13, 2010
On our website, we have an application within our website. The following is the folder structure:
website1 (main website)
bin directory1
website2(an application)
bin directory2
webconfig2
webconfig1
There are other folders under each of the main folders which contain other pages, images, etc.
We're trying to upgrade the website and are encountering some difficulties. We want to remove the website2 from the main website to see it it's causing the problem.
However, we cannot remove the bin folder and so we can't remove the website2 folder. We've been able to delete everything but the bin folder itself. We've tried downing the website and the application pool but we still get the 'access denied' error message.
View 2 Replies
Aug 20, 2010
Is it possible to virtualize the bin folder for different application? (so that they all point to the same bin folder)
View 1 Replies
Oct 6, 2010
i have being asked to debug some asp pages.. when i received the folder, i only saw .ascx files.. i found that i need to decompile the kcp.dll located in the bin folder to do my work.. i have VS 2010 and .Net Reflector.. but when i open the dll with the reflector i can only view the codes but i cannot edit it.. any1 able to assist me on this? Summary: 1) Decompile kcp.dll 2) edit the codes and compile it back.
View 2 Replies
Jan 19, 2011
This is our current solution layout.
Main Solution
Business Class C# Project
Module1
f1class1.cs f1class2.cs
Module2
f2class1.cs f2class2.cs
Module3
f3class1.cs f3class2.cs
UI Project (aspx,aspx.cs,bin,app_code)
Module1
page1.aspx page2.aspx
Module2
page3.aspx page4.aspx
Module3
page5.aspx page6.aspx
For every deploy the UI Project is published and moved to all the sites. All the Modules use the same Business Class C# Project. Basically every page will use some common classes in Business Class C# Project >> Module1 Now what i need is to just deploy Module3 independent of full deploy. This shouldnt disturb the existing functionality for the remaining modules as they are already working fine in Production. So only the Module3 business class and Module3 aspx changes need to be deployed. The problem here is Module3 business class is a part of Business class C# Project. Is there a way to just deploy Module3 Business Class, ASPX when ever required without having to move the Business Class C# Project.
View 2 Replies
Jan 27, 2011
We have created an ASP.NET ( 3.5) application is configured to use FORM authentication and thus it has such a following items in Web.Config :
<location path="~/Admin/Default.aspx">
<system.web>
<authorization>
<allow roles="Manager,Member" />
<deny users="*" />
</authorization>
</system.web>
</location>
<location path="~/Admin/MyAccount.aspx">
<system.web>
<authorization>
the application runs OK on local web server box. Our ASP.net application is able to access Admin folder in local IIS application folder and its subdirectory. However, once uploaded to remote web host , user can login but when user wants to use any pages in ~/Admin subfolder, we get an exception that essentially states that access to the sub-directory is denied.
View 3 Replies
Nov 3, 2010
During build process on ASP.NET MVC 2 application, two files are generated dynamicly (copied, that is) in build folder :
- Microsoft.SqlServer.Replication.dll
- Microsoft.SqlServer.BatchParser.dll
As this files are unwanted, are not required for application to run properly, i put delete command on post build event to remove them :
<code> del "$(TargetDir)Microsoft.SQLServer.Replication.dll" & del "$(TargetDir)Microsoft.SQLServer.BatchParser.dll" </code>
The problem is, as i understood the publish process does: 1. Build, 2.Publish, 3. Post build, so these files are alwasys published on server and causing problems on every publish to our QA server. Is there any way to avoid removing files manually, except for first publishing on the local fs, then use some sort of ftp deployment script that would first delete files, and then push them to server.
View 1 Replies
Jan 21, 2011
I have a dll which is in the bin folder (version 1.0.6125.0 ) and in GAC version of the dll is 3.5.0.0. Both the assemblies are strongly named microsoft dll's .
Now I want the dotnet CLR to search in the GAC instead of in local bin folder.. I know the solution to the problem would be to delete the dll from the bin directory and automatically application will search for dll in GAC, but in my case, I cannot delete the .dll file in bin directory, since we do not have control over the PRODUCTION servers.
I get the following error
The type 'System.Web.UI.ScriptManager' is ambiguous: it could come from assembly C:inetpubwwwrootAppNAMEinMyDll.DLL or from assembly 'C:WINNTassemblyGAC_MSILMyDLL3.5.0.0__31bf3856ad364e35MyDll.DLL'. Please specify the assembly explicitly in the type name.
View 2 Replies
Dec 12, 2010
I had accidently moved a dll which sits in the BIN directory from my local machine to Production server. Later I realised that the same dll exists in the production server in it's GAC. Now I do not have ermissions to delete that dll from the bin directory on the production server. I am planning to use assemblybinding codebase and redirect attributes to make the application to search for the dll in the BIN directory instead of the in the GAC
I get the following error
The type 'myassembly' exists in both 'c:WINNTMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filesdw82f12d83c45d61ceassemblydl3e45c2bc4�06e4169_8855cb01myassembly.DLL' and 'c:WINNTassemblyGAC_MSILmyassembly3.1.21.0__7780ffc6c71e90a4myassembly.dll
how I have use this assemblybinding attribute in Web.Config to point to the dll in the bin directory.
View 2 Replies
Dec 17, 2010
I am doing Search functionality for my website. For this purpose I am using Lucene.net search files and dlls in my web application. There are 2 folders get created in web application namely 'index' and 'cache'. These files contains crawled pages of my website. Search pages searches these two folders for searching. This application is run with no error on my local server. but when i upload these folders and these search pages on my server and search it will show error.
Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Previously I found that this error is due to Medium trust level of server.
I checked this error on my Local by setting my local server trust level as Medium and on my local it was showing same error. so i made change in my code, after that its working on my local with Medium trust level as well. But on my web server it still gives same error. So what changes should i make in my app so that it will run in Medium trust level.
View 5 Replies
Apr 21, 2010
I currently have a dedicated server running a number of sites, one of these sites I would like to add a subfolder to which runs a seperate index.html file, so effectively it looks like a different site.
I am struggling to acheive this, can anybody give me the steps involved to make this happen?
To clarify, i have a web address for example www.mydomain.com and would like users to browse to www.mydomain.com/subfolder and open up a sub folder.
View 1 Replies
Jan 26, 2011
I have a .net website that I've built but here's the catch - when it's deployed I don't know whether it will be deployed to the root of the site or to a sub folder of a larger site (and it needs to be able to move around between places)
And - here's the important bit - we will have zero access to IIS on the live server so this just has to run straight away.
So far I've managed to find work arounds for things like paths to resources but I now need to use a 3rd party component (.dll).
Normally this would go in the bin folder and, if I run my site in the root of the website it works fine but, as soon as we move the site to a sub folder, the reference to the 3rd party component wont work.
Now - I know normally you'd suggest creating a virtual directory under IIS but remember - I HAVE NO ACCESS TO IIS.
So - is there a way to still use 3rd party components in my project and have my project all run in a sub folder of a website?
And no - I can't move just the bin folder to the root of the site - it all has to sit within its own folder.
View 2 Replies
Oct 18, 2010
i am developing a multi language website,
in the App_GlobalResources folder i put the 3 folder for the language that contans .resx files. its works fine when i test it from visual studio.
i have VS2008 SP1 with .net frameword3.5 SP1
when i publish the project and configure it to IIS, i found this error.......
Server Error in '/' Application.
Could not find a part of the path 'D:PrismWebPrecompiledWebPrismWeb2App_GlobalResources'.
Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:PrismWebPrecompiledWebPrismWeb2App_GlobalResources'.
View 2 Replies
Aug 5, 2010
VWD 2008 Express.
I have a folder in my project that contains files I do not want to process (they are only for reference) when I build the web site. These files produce errors because they reference things I do not have in my site. How can I exclude a folder so that it is not processed during a build?
View 2 Replies
Aug 11, 2010
I have the following IIS folder configuration:WebSiteX - a web site contains a ASP.NET application with a web.config file WebSiteXApp - a virtual directory (App) under WebSiteX, with a different ASP.NET application and a different web.config file.What can I do to prevent the web.config file from the WebSiteX to be inherited when accesing the ASP.NET application from WebSiteXApp, in other words, when I access the WebSiteX/App ASP.NET application I want only the web.config from that application to be considered.
View 3 Replies
Apr 12, 2010
I am trying to deploy my C# based ASP.Net 3.5 webapp
The hosting service provider said "Access 2003 (.mdb) file has to be put in 'access_db' folder in root folder"
I am currently using
OleDbConnection myConn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" + Server.MapPath("~/access_db/filename.mdb"));
The folder structure is like
ParentFolder/access_db/filename.mdb
ParentFolder/ProjectFolder/<Project files> (App_Data, bin, *.aspx, web.config)
1) I am using a GridView on another page that doesn't allow to connect to a database outside the project folder. What should I do?
2) How do I modify the programmatic connection string ( shown above) ?
View 11 Replies