I have a web server that has been working fine with classic ASP pages for the last 4 months. I am now trying to switch to ASP.NET but aspx pages simply don't show up on this server. I get this error:
The page cannot be found
HTTP Error 404 - File or directory not found.
Internet Information...
Sounds simple. At least it was simple with classic ASP. I am now trying to switch to the supposedly better ASP.NET but I cannot make a simple database connection and retrieve the value of a field.
I have looked through several pages using Google and all of them tell me how to store the contents...
Thank Kaht, but that's what I am doing now. The PC used to host the game server is also the web server. Apart from the web service and the game instance, there is a VB program that queries the game console and stores the results in a text file once a minute. Then the site displays the contents...
Is it posible to send them through Javascript.
I have a "Call Of Duty 2" game server with which I can communicate using UDP packets (sending and receiving). This works fine with Visual basic, but I need a way to do it through a web site so I can have a page automatically refresh the list of...
I had reported the same "Replace" problem some time ago here:
http://www.tek-tips.com/viewthread.cfm?qid=1225520
but it remained inconclusive :(
I can't pre build a query because the search parameters are variable.
If I were to switch to MySQL, qould I have the same problem?
-Fischadler
I cannot get the REPLACE function to work in ASP. I get the error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Undefined function 'REPLACE' in expression.
The exact same SQL query works perfectly when pasted in Access SQL view and run...
Don't worry, it was clear enough for me to understand the logic behind it so that I could adapt it to my needs. I just had to add the "%" for the LIKE patterns. I knew about the SPLIT command but didn't know about the JOIN...so I also got to learn a new command. :)
One thing I noticed. Your...
OK. My original question was about regular expressions, but it turns out that thanks to Tarwn's suggestion, I won't be needing to use them!
Thank you both!
-Fischadler
OK, Thanks tsuji, it works. If I understand correctly, you've put two combinations so that if cat comes before dog or vice versa, it triggers a match. However, the match count only shows one, not two (one for each word). Beside, if I have more than two words, I would need to create all the...
I am very new to regular expressions. I have the code below which I use to find news records which match a particular pattern:
strPattern = "(cat)|(dog)"
StrippedString = stripHTMLtags(rstNews("NewsDetails"))
Set RegularExpressionObject = New RegExp
With RegularExpressionObject
.Pattern...
Some time ago I used to use session variables in order to store login information (such UserID and whether they are logged or not). This worked fine until one fine day one the servers I hosted my sites on started resetting sessions sporadically, sometimes after the 30 minutes (as it was set both...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.