473,387 Members | 3,684 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Can "bin" be changed to "cgi-bin" for asp.net

I have an NT shared hosting account, but the provider names the script/write
folder cgi-bin. I want to place DLLs in the cgi-bin directory and get them
to work in my Web applications.

What do I need to do to get my application to look for DLLs in the cgi-bin
folder instead of the default bin folder?

Can I expect success in getting DLLs to work in this way -- or, do I need to
upgrade from a shared hosting to a dedicated server account?

Thank you
Kevin
Nov 17 '05 #1
6 2523
The CLR does try to locate assemblies in the \bin directory of a web application. I don't think that can be changed.

What makes you think you can't create a working bin directory in the root of your web app? The default permissions for the ASP Worker Process account are read, execute, list folder and should work without problem.

Regards,
Wim Hollebrandse
http://www.wimdows.net
http://www.wimdows.com

---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
Nov 17 '05 #2
The CLR does try to locate assemblies in the \bin directory of a web application. I don't think that can be changed.

What makes you think you can't create a working bin directory in the root of your web app? The default permissions for the ASP Worker Process account are read, execute, list folder and should work without problem.

Regards,
Wim Hollebrandse
http://www.wimdows.net
http://www.wimdows.com

---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
Nov 17 '05 #3
Specifies application base subdirectories for the common language runtime to
search when loading assemblies.

<configuration>
<runtime>
<assemblyBinding>
<probing>
<probing privatePath="paths"/>
Example
The following example shows how to specify application base subdirectories
the runtime should search for assemblies.
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;bin2\subbin;bin3"/>
</assemblyBinding>
</runtime>
</configuration>
Configuration File
This element can be used in the application configuration file.

"Kevin Mitchell" <tk************@comcast.net> wrote in message
news:nf********************@rwcrnsc52.ops.asp.att. net...
I have an NT shared hosting account, but the provider names the script/write folder cgi-bin. I want to place DLLs in the cgi-bin directory and get them
to work in my Web applications.

What do I need to do to get my application to look for DLLs in the cgi-bin
folder instead of the default bin folder?

Can I expect success in getting DLLs to work in this way -- or, do I need to upgrade from a shared hosting to a dedicated server account?

Thank you
Kevin

Nov 17 '05 #4
Specifies application base subdirectories for the common language runtime to
search when loading assemblies.

<configuration>
<runtime>
<assemblyBinding>
<probing>
<probing privatePath="paths"/>
Example
The following example shows how to specify application base subdirectories
the runtime should search for assemblies.
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;bin2\subbin;bin3"/>
</assemblyBinding>
</runtime>
</configuration>
Configuration File
This element can be used in the application configuration file.

"Kevin Mitchell" <tk************@comcast.net> wrote in message
news:nf********************@rwcrnsc52.ops.asp.att. net...
I have an NT shared hosting account, but the provider names the script/write folder cgi-bin. I want to place DLLs in the cgi-bin directory and get them
to work in my Web applications.

What do I need to do to get my application to look for DLLs in the cgi-bin
folder instead of the default bin folder?

Can I expect success in getting DLLs to work in this way -- or, do I need to upgrade from a shared hosting to a dedicated server account?

Thank you
Kevin

Nov 17 '05 #5
What a gem!

Cheers,
Wim Hollebrandse
http://www.wimdows.net
http://www.wimdows.com

---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
Nov 17 '05 #6
What a gem!

Cheers,
Wim Hollebrandse
http://www.wimdows.net
http://www.wimdows.com

---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
Nov 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Jason | last post by:
Let's say I have an html form with 20 or 30 fields in it. The form submits the fields via POST to a php page which updates a table in a database with the $_POST vars. Which makes more sense? ...
2
by: Bob Rivers | last post by:
Hi, Is it possible to verify, using js, if ANY item in a form has changed? For example: I have a <form> with multiple items (<input>, <select>, <textarea>, etc). I need to track if one (or...
2
by: Brennon Arnold | last post by:
I have a problem that I figured would be relatively common, but have been unable to find any information on it as of yet. I have a page that contains two DropDownList controls, with the second...
3
by: Kyle Keller | last post by:
I created a database which my company has used for over 2 years at now over 30 locations. Just today, one of the locations called and was having problems with their program. The database is A97...
9
by: Lance Johnson | last post by:
I would like for when a tab page changes, that my controls on the previous tab page would receive a visiblechanged event or some other event so they are aware of that. We have db locks in some of...
9
by: MR | last post by:
Why does the string value assigned to the RequestElementName in the SoapDocumentMethodAttribute get changed? The value below with a colon is changed to the hex value surrounded by underscores....
4
by: GTi | last post by:
I'm trying to build a class that can track changes to itself. Class MyClass { public int value1=0; public int value2=0; private int oldvalue1=0; private int oldvalue2=0; public void...
19
by: Taras_96 | last post by:
Hi everyone, How do you detect that a form element has been changed? This thread: ...
5
by: Mark | last post by:
Hello, I have a form where I want to only enable a save button when something has changed in the dataset. Currently I'm checking current values against original values everytime a value is...
7
by: devnew | last post by:
hi i am trying to create a cache of digitized values of around 100 image files in a folder..In my program i would like to know from time to time if a new image has been added or removed from the...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.