Access Machine.Config
How do i access user defined section in machine.config file? Is there any runtime api that I can use.
View RepliesHow do i access user defined section in machine.config file? Is there any runtime api that I can use.
View RepliesI want to know the difference between Machine.config and Web.config files in ASP.NET.
View Replies View Relatedwhen i export a dbf file from Local machine to Access in Webserver i get a message :
Microsoft JET Database Engine error '80004005'
'C:WINDOWSDesktop' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
what could be the reason.?
I recently built an application using an Access database. The application works fine, but for some reason I am unable to FTP the database file back to my machine from the server... the operation simply times out halfway into the transfer.
Has anyone ever encountered this issue? I don't know if maybe some renegade connection wasn't closed, but I kinda doubt that's the case.
Is there even a way I can check what connections to the DB are open?
I have an ASP site. Now we need to define some setting on config file.
on basis of that value asp page control will switch visible true or
false. everything is working if I hard coded the value but only need
to know how could I read the config file value in asp page.
I have followed knowledege base Article 301305. I am running 2000 adv, IIS 5.0 . I have the following settings to the folder that has the asp.
Application settings
application name: upload
Starting poing: <website>upload
Execute Permissions: Scripts Only
App Protection: High(isolated)
Is there anything else i need to do? I installed the lockdown awhile back...does that interfere?
got things a litme more fixed here after spending another 4 hours figuring out things within the .net framework but ey it's all for the better. WHat if i wanted to start my web.config programaticly, how would i load it into my applicaion and maybe more important, where.
View Replies View Relatedhow to replace the system.web section using MSBUILD? I managed to change the appSettings and connectionStrings sections but when i tried to replace system.web i got an error message reporting missing system.web section.
View Replies View RelatedI'm using VS2003 and .net framework 1.1, everytime I create a new asp.net project and run (debug or release) I get this on my browser (in this case, my project is WebApplication5):
Access to the path "c:windowsmicrosoft.netframeworkv1.1.4322Temporary ASP.NET Fileswebapplication5
I am trying to store some information (like application paths) in the web.config file of my ASP C# project. To that end I did the following: Code:
View Replies View RelatedIt there a standardized process of working with text files that follow the typical INI file pattern with sections within it designated with square brackets? I am looking at needing to read in some of these into the DB and then editing in the DB and writing the files back out again. As an example they would have sections like this:
[fltsim]
'Stuff here
[general]
'Stuff here
While debugging why a web.config section replacement was not happening in the real web application, I tried a simplified case, no replacement is enabled and the connection string is not showing up? Code:
View Replies View RelatedI moved a site from a dedicated server to a shared hosting environment. On my dedicated I could specify the order of precedence for the default / index files. On the shared default.asp takes precedence of index.html and I can not change that.
Support told me to look into using a web.config file to accommodate my needs. What I need to do is have the index.html file show up first, not the default.asp Is the web.config file the route to take?
I am now all of a sudden getting an error in this sql connection
string, saying that the Provider keyword is invalid:
<add key="MM_CONNECTION_STRING_isox"
value="Provider=SQLOLEDB;SERVER=xx.xx.xx.xx;UID=xx;PWD=xx x;DATABASE=xxxx;"
/>
Can I run my asp applications on a 64 bit machine?
View Replies View RelatedI have a request from a fellow conrtractor (differnt company) to have a form pass the users IP and machine name upon submission. I know that request.serverVariables("remote_addr") and request.serverVariables("remote_host") will yield the users IP but do not know of anything that will pony up the machine name.
I contend that under normal circumstances a browser doesn't have access to the machine name for user security reasons but my friend doesn't agree and insists it is "somewhere in the envirnment information." He may know something I don't but he doesn't know enough to show me how to extract what he wants in the form.
Further information: we are working on a Microsoft Active Directory network. This may provide some mechanism to pass that information.
I've set up remote debugging following every step in the manu from
microsoft. However, I can't see mtx.exe process in romote machine,
instead I only see inetinfo.exe. I attached to it and it seem works OK
except that I can't set up any break point in any inc file(include
file). I can use the command stepinto from an asp page to get to inc
code, but I the process never stop at the break point I "set up" before
I start the debugger or in the debugging process.
Can anyone help me what went wrong? or just tell me that is about what
interdev debugger can do.
By the way, I use NT on server and client is a window 2000
professional.
I would like to evaluate some shopping cart software to use on my next project. I am new to asp and as yet my hosting does not support it. Before I go ahead and upgrade my hosting I wanted to see how the various packages work.
I am running XP Pro SP2 and have installed IIS. The folders seem to be where they should be and I have access to the settings through the Administrative Tools.
When I put a htm file in the wwwroot folder it loads fine if I type http://localhost but the asp files are either downloaded or opened in dreamweaver.
Do I need to do something special to enable asp files to open on my local machine??
I'm not a networking/IT guy, but I was put in charge of figuring out how to use ASP to tap into an Oracle db for my office. I am using a windows 2000 laptop, and I want to be able to run ASP code on my local desktop (without being plugged into a network).
I need a lot of help here. I know I have to turn my computer into a webserver, but I'm not certain what I need to do with the IIS. What do I need to do in general to make my computer a webserver? In addition, I will be using a local Oracle database. So I wasn't sure what I would need to do to make that db available for querying with ASP. What is the best way to make that connection?
Anyone who can point me to useful documentation.
how to insert the current user's username and machine name into a couple of textboxes to be inserted into a form. I'm creating a work order system and I would like the form to be prepopulated with this information.
View Replies View Relatedhave an SQL DB which clients access via asp pages through the internet, in the case of a power outage I need to write that data automatically in the background to a txt file on their local machine, I would imagine it would involve a script of some kind.
View Replies View RelatedHere's my dilema. I have a Classic ASP site and I need to receive transactions from a little card reader over the Internet. The reader willbe sending:
MERCHANT_ID=(max seven digits)
TERMINAL_ID=(max twelve digits)
CUSTOMER_ID=(max seven digits)
TX_TYPE=(max 3 digits)
TX_AMOUNT=(max 7 digits) decimal (2 digits)
DATETIME=(14 digits)
MD5=(32 hex alpha numeric A-F, 0-9)
I know this is actually impossible, but didn't know how else to describe it:
I have created a Content Management System for a client using ASP connecting
to a Access database. It doesn't do any fancy things: INSERT, UPDATE, etc. I
also use ASPUpload to upload images onto the server.
When I test my CMS from my own machine and others, it all works fine.
However, testing it from my client's machine, the Updating or Inserting of
data ends up returning a 'page not available' error (the asp page calls
itself when the form is submitted) and the changes to the database are not
being executed.
I really can't figure out why this is happening. Could it be a setting on
the client's browser?
I was susseesful in mapping remote machine with vbscript. Now I am building the same tool with ASP .I am using the same code but its not working. Below is the portion where I am mapping the drive: Code:
View Replies View RelatedTo secure my web site i need to read client Machien's MAC Address with
javascript
Is this possible or should I set a cookie with md5 session id and login time and date.
View Replies View RelatedAm I now setup to view .asp on my local machine, or do I have to "upload" the pages to IIS? If the latter, how do I do this?
View Replies View RelatedI copied one of our websites to a CD and wanted to run the website off of the CD. However, it won't run the index.asp on Windows XP machine. Do I need to install some dll's or something?
View Replies View Relatedhow MySQL goes with ASP (or any other language) on a Windows machine, production wise. Our website contains static pages and we're planning on making them dynamic. Cost is an issue. If anyone knows how well MySQL performs on WinNT or knows of issues I should be concerned about, I'd appreciate hearing from you.
I've already had experience with MySQL on a Linux environment and wondering if its Windows brother is on the same level. I know MySQL doesn't compare with SQL Server or Oracle when it comes to features, but it's something we're willing to give up because of cost.
how to get the date from client machine?
View Replies View RelatedCan I make somebody else view my webpage, that i made in asp-mysql on anohter machine? I tried to give my ip address to another person to view my page. But it doesnt work. i tried as : http:ip-addresslogindb.asp?
To run ASP on my machine i had to change my port for localhost to 8888 from the original. Before changing it to 8888 it was giving 'in use...' error. I got asp functioning when i changes my port to 8888. Now when i want to make others view my page can I do it?
If yes, then i was wondering why would we need space to host a website (small scall). I can always make my machine as the host machine and no need to buy space and all? do i need to make any changes to my IIS setting for any 2nd person to view my login page?
I need to get list of users on a machine (can be from exchange or a domain controller). I'm not even sure where to begin. I need this so I can populate a dropdown list of all users of our network for a helpdesk system.
View Replies View RelatedI am having problems creating a folder on a remote machine. I keep getting a error 70 Permission denied. Of all the samples I have seen, I can't see what I am doing wrong.
Code:
dim dirName
dim machIP
dim folderPath
dirName = "myDir"
machIP = "123.123.123.123"
folderPath = "" & machIP & "c$" & dirName
Set fs=Server.CreateObject("Scripting.FileSystemObject")
if Not fs.FolderExists(folderPath) = true Then
fs.CreateFolder(folderPath)
end if