473,748 Members | 11,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2563
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.

<configuratio n>
<runtime>
<assemblyBindin g>
<probing>
<probing privatePath="pa ths"/>
Example
The following example shows how to specify application base subdirectories
the runtime should search for assemblies.
<configuratio n>
<runtime>
<assemblyBindin g xmlns="urn:sche mas-microsoft-com:asm.v1">
<probing privatePath="bi n;bin2\subbin;b in3"/>
</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******** ************@rw crnsc52.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.

<configuratio n>
<runtime>
<assemblyBindin g>
<probing>
<probing privatePath="pa ths"/>
Example
The following example shows how to specify application base subdirectories
the runtime should search for assemblies.
<configuratio n>
<runtime>
<assemblyBindin g xmlns="urn:sche mas-microsoft-com:asm.v1">
<probing privatePath="bi n;bin2\subbin;b in3"/>
</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******** ************@rw crnsc52.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
16218
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? 1) simply UPDATING the values for all fields in the table, whether or not any particular field has actually changed 2) running a second SELECT statement and comparing the $_POST vars to the returned values, and only UPDATING those that have...
2
2999
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 more) of this items has changed by a user. One option, is to put a onChange event in each one of these fields and, if the event occurs, I will update a hidden input to indicate
2
3423
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 being dependent on the value of the first. My DropDownList control definitions look like this: <asp:dropdownlist id="ddlLocCty" runat="server" CssClass="SmlBox" AutoPostback="True" CausesValidation="False"></asp:dropdownlist> <asp:dropdownlist...
3
2137
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 runtime with split front/back ends. They sent me their back end file, and 2 of the columns in their Events table, all were somehow changed. One of the values changed all changed to 0's, and the other all changed to 1's. There are about 4000...
9
7974
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 our controls when they're visible and so if a tab page is changed, I would like for the control to know it's no longer visible and release that lock. Currently that doesn't happen. Does anybody have any suggestions and/or is this a bug? Lance...
9
1820
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. this doesn't happen to the RequestNameSpace. How can i prevent it from being changed? thanks
4
1365
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 WhatIsChanged()
19
8292
by: Taras_96 | last post by:
Hi everyone, How do you detect that a form element has been changed? This thread: http://groups.google.com/group/comp.lang.javascript/browse_thread/thread/9ae1c9d419264380/125a82c9be127790?lnk=st&q=checking+html+form++(updated+OR+edited+OR+changed)&rnum=28&hl=en#125a82c9be127790 suggests that you attach onChange event handlers to every form element, and when the handler fires you update a global 'isChanged' variable. This technique...
5
3463
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 changed to enable/disable the save button. Is there a way of telling if a dataset has been changed (ds property?) other than using this method? Any help greatly appreciated! Thanks in advance
7
4335
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 folder.. one scheme suggested was to create a string from the names of sorted image files and give it as the cache name.. ie ,if i have one.jpg,three.jpg,new.jpg , i will name the cache as 'newonethree.cache' and everytime i want to check...
0
8989
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8828
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9537
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
6795
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6073
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4599
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3309
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2213
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.