asp

ASP Weird Unspecified Error - 80004005

Hello, I had to work on an already made website, just adding some small module While i was updating, there was many files called myDB.mdb in the different subfolders i wanted to make sure that my app is connecting the right database so i started renaming subfolder...at one of those subfolders, i refreshed,the main site and mine stopped ...

ASP Connections to SQL 2008 Named Instance

I have an SQL 2008 server running three instances. Each instance is assigned a unique IP address and listens on port 1433. Only TCPIP is enabled. All of my ASP.Net applications connect successfully using the IP address, with a connection string similar to: User ID=SQLUser;Password=userpass;Database=TestDB;Data Source=sqlserver My AS...

DataGridview Problem

I have three column in my datagridview .One is text ,one is Combo and another one is Text ...i dont want to use datasource want to add values on cell like datagridview.Rows[].cells[].value. Help me how i can do it? My database have several columns...How to add column value dynamically.... ...

%2B decoding to a space instead of a plus

We have a problem in a specific server. All plus signs posted to the application are replaced with spaces - that's in POST and GET, and on all pages on that site. As a test case I have this little page (it's an ASP server): <html> <body> <form method="post"> <input type="text" name="Plus" id="Plus" /> <input type="submit" />...

What does the "on error goto 0" and "error resume next" in old ASP mean?

I am working with old ASP code and I am not sure about semantics of on error goto 0 and error resume next construction. Can you recommend me some useful resources or enlight me directly? ...

Adding a "remember me" box to an asp login form

Can anyone point me in the right direction for adding a remember me checkbox for a simple login page? It basically only uses a password, not a user name. Is this possible? Here's the code for the unprotected part of the login asp page: '****************** Begin UNprotected content **************************** ' ' Enter the content yo...

Password protect files on IIS without using NTFS file permission

We host online reports that a client will log into and view. The reports are ASP pages pulling the necessary numbers from a SQL Server database. The client's access details are managed by a table in the SQL Server too. In the past we've had one or more PDF or other files that the client might also want to access from the online report. ...

Change Width of Each Asp Menu Item

I would like to do something similar to the code in the link below (but other solutions are gratefully accepted), but instead of changing the background color for menu items, I would like to change the width. Specifically, I would like the first menuitem to have a width of 30 px and all other menuitems a width of 200 px. http://stackov...

how to use asp pages in asp.net

hi everyone... I want to use asp page in my asp.net application without any modification in asp pages. further I want to add master page in my .net application.So i need the changes to be reflected in the asp page also. is it possible....any how? or any alternative to use this..? pls suhggest me .....thanx in advance... ...

Detect Server.Transfer in Classic ASP

In Classic ASP, how do you detect on that the page got control via a Server.Transfer()? I cannot compare the URL vs the current ASP filename because the code is stored in a library (included). ...

how to create google sitemap for mvc site?

Hello there, I was wondering if anyone has done this yet or has any examples on how to create a Google Sitemap for an MVC website. Any help or example would be appreciated. Im talking about this: https://www.google.com/webmasters/tools/docs/en/protocol.html ...

Asp .Net MVC RedirectToAction with absolute URL

I have written an Asp .Net MVC applicaton that runs inside an IFrame. When one of my controller methods returns RedirectToAction(), I want the top browser URL to redirect to the address, not just my IFrame. How would I go about doing this? Because I am running inside another site, I will need to pass an absolute URL to the browser i.e. '...

how to attach a external style sheet with evary page of asp

hi evary one I have a CSS file called mystyle.css. I want to attach with each and every page of my application in asp. how Can I do this...? Pls help.. ...

IIS Issue? Site not coming up all of a sudden

So I have a site setup on a server. It has been working for ever. All of a sudden it stops working. I tried going to it even by IP. It just says, "Under Construction.. Under Construction The site you are trying to view does not currently have a default page. It may be in the process of being upgraded and configured..." I check to...

JQuery Slider Examples With Classic ASP?

I'm about to try and implement the JQuery slider into an old Classic ASP store, where the slider would control the price range. So have a price between say $40 and $80 and you could use the slider to go between $50 and $60... Anyone know of any examples of using the slider with ASP in this way? I'm guessing I store the values in hidd...

Can't write file in classic asp

Ok, it's been a while since I've worked with classic asp so I'm a bit rusty. Here's my question. I'm trying to write a file to the file system using FSO. The code below is very simple. However, the file is not appearing and no errors are appearing. I know it's running the code because I can add response.writes before and after this snip...

What to learn - Ruby on Rails or ASP .NET MVC...given that am familiar with ASP .NET

I need to learn and adpot the MVC methodology for building web apps. Which is the better way to go given that I have experience with ASP .NET Webforms - ASP .NET MVC or Ruby on Rails? I've heard people going gaga over RoR and its simplicity and its features such as scaffolding, ActiveRecord, convention over configuration etc. However,...

XML and ASP: Retrieve and parse a remote file

I'm building a site on a Windows Server with ASP enabled. I need to retrieve an XML document from another server and return a value in that document. The xml file is small - only one node with a text value. I just need to return that text value. I've never worked with ASP before, and Googling around has led me to some code examples, but ...

.droppable doesn't seem to trigger anything? JQuery + ASP

Hi All, With the help of the stackoverflow community, I've got the dragging to work perfectly using JQuery. Now, I've assigned a .drop class (and made it .droppable), but whenever I drop a .draggable onto the .droppable... nothing happens! Is there an error in javascript? <script type="text/javascript"> $(document).ready(function()...

Regular Expression's Meta Character

Language: asp This is sample of my code: str = "www.url.com/gotobuy.aspx?id=1234" key_word = ".obuy." Dim regEx Set regEx = New RegExp regEx.Pattern = key_word regEx.IgnoreCase = True regEx.Global = True Set Matches = regEx.Execute(str) if matches.count > 0 then new_string = str For Each Match in Matches new_string = replace(new_s...