Hi,
I have a ASP website hosted on IIS6 and its pretty unstructured. It has ASP, JS, CSS, HTMs, images all in same root folder. I want to enable caching on static files like images,css, js files.
I don't want to manually add expires header by going in properties of each file as the files are in hundreds and there are 5 web servers in the farm :-(
So I want some automated way to perform this task. Is it possible...
User Profile
Collapse
-
IIS6 Caching for specific file extensions in a folder
-
santoshsri started a topic Server Error in '/' Application.Requested Performance Counter is not a custom counterin .NETServer Error in '/' Application.Requested Performance Counter is not a custom counter
Hello,
I have web application running since years without any issues. Recently we started facing weird errors we have no clue about .. Can some tell what could be wrong ? It's on IIS6 on .net framwork 1.1..
Appreciate your help. Thanks
Stack Trace -----
Server Error in '/CHOICEPOINT.WEB APP' Application.
--------------------------------------------------------------------------------... -
Run time error 340 in VB application hosted on Citrix
Hello,
I have an application made on VB6. Application works fine when I run it in my local dev machine. But the application exe when hosted in citrix platform, some users get Run time Error 340 on opening a particular page, but when try that page in citrix platform using my id, I do not see any error.
I am totally confused what to do now.. is there any dependency on user id due to which this run time error comes to certain... -
Thanks so much for the reply. I am new in handling rss. Can i have some basic information of accessing rss feeds from some reliable sites ? I tried getting the live feed for gold, but I coouldn't get. -
Update Item price based on prices of gold and silver.
Hi ,
I have a requirement in which the client's portfolio's net worth should change dynamically based on current price of Gold and silver.
Please advise how can I get this done.
Thanks !! -
Error - Non-negative number required.Parameter name: byteCount
Hi All,
My C# web application calls a webservice to process a report. It sends XMLs as parameter and in response gets an XML node which stores Binay datatype bin.base64.
It makes an instance of the proxy class of webservice and makes a synchronous call to webservice GetReport() op.
Here is the code snippet -
*************** *************** *************** *************** *************** ************
... -
Let me come to the point.. Actually above string is being sent to a webservice. The webservice in response returns another XML which our code interprets and converts to PDF.
This code had been working fine since last 3 years.. we have been facing this problem since last one week.. I tried to catch the exception . I got "Non-negative number required. Parameter Name: Byet count ..... "
Seems like webservice...Leave a comment:
-
Thanks for the reply. But the webservice is expecting the input to be in string format . Can I send the class yet ? A code snippet will help me to better understand
Again, Thanks !!Leave a comment:
-
Problem in creating XML using string.format..
Please have a look at below code snippet -
in the first snippet I have made constant to provide a static format to string.. the second uses the constant to string.format the values received at runtime. But problem i m facing is - I am loosing the tag names, for example - <PolicyNumber > , <UserID>; I only recieve the value in xml nodes not the node names.. Please let me know if there is any way to maintain the xml structure... -
XML formatting issue...
Hi,
I am new to .Net. Actually I need to pass an XML string to a webservice.Belo w is the way how I assign the XML to a variable strXmlReportReq uest1.
strXmlReportReq uest1 = "<PARAMETERS><R eportPath>\\\\% COMPUTERNAME%\\ ezsb\\PMS\\</ReportPath><Rep ortName>ZZPMS</ReportName><For ceReport>True</ForceReport><Da taConnectionStr ing>DSN=COSPROD </DataConnectionS tring><ReturnTy pe>5</ReturnType><Dis playFormat>5</DisplayFormat>< PolicyNumber>LP R... -
System Error : Catastrophic Failure in MS excel
Hello,
While opening an excel worksheet having macros , I get Error "System Error &H8000FFFF Catastrophic failure". When I click on Ok button , I see another message box as Microsoft Visual Basic : Out of memory , what does it mean ? My PC has 2 GB ram with 3 Ghz P4 processor. I don't see any memory shortage problem.
I can open and work on same worksheet successfully on other PCs of same configuration.
... -
Well, I have big XML file. Now I have another standalone XML file. I want to plug the standalone XML file as node into the Big one.
Please let me know if it does not make sense to you.Leave a comment:
-
To append an XML stream as a chile in another XML stream
Hi ,
Can anyone tell me how to add/append an XML stream as a child in existing XML stream ?
Thanks in advance
Santosh -
Copying PDF document from remote to local machine in C#
Hi,
I have to store PDF document from a web URL (for eg : http://www.abc.com/sample.pdf), is there any where I can store the PDF at my local machine. -
C# Problem in coverting Currency Value in Number format
Hello,
I have written a Console application in C#, it basically imports data from tab delimited text files and save in SQl Server database. I am converting currency format of Mortgage value into Number format and saving in database. All works fine at my local machine but when I deployed the .Exe file in test environment I am getting below error message ... Couldn't store <"$182,458.00 "> in MortgageValue Column. ... -
Hi Veena ,
Thanks a ton .!! Your advice solved my purpose...
One quick question.. Can we implement webservices in VB6 ? Actually we have an application made on VB6 and now we require to we add use some existing webservices ? Please let me know or If you can find some article on this , that will be of great help to me ..
Cheers
SantoshLeave a comment:
-
Using checkboxes as a Radio buttons in VB form
Hi,
I have two checkboxes : Chkcities(0) and Chkcities(1) . I want that when user checks one box by single click other box should be unchecked and vice versa.
I have used below code for this :
Private Sub Chkcities_Click (Index As Integer)
If Index = 0 Then
Chkcities(1).va lue = vbUnchecked
End If
If Index = 1 Then
Chkcities(0).va lue = vbUnchecked
End If
End Sub
... -
Hi ,
I opened the existing form in notepad , I am getting VERSION 5.00 as first line. so according to you it version is VB5 ??
But why I am getting VERSION 5.00 in first line when I create a form in Visual studio 6 and save it and open in a notepad ?
Please help ..Leave a comment:
-
How to determine that VB form is written in VB5 or VB6 ?
Hi ,
How to determine that a VB form is written in VB5 or VB6 ?
Thanks,
Santosh -
Temporary table in DB2
Hi,
I have used a temporary table in DB2 SQL. Below is the definition..
DECLARE GLOBAL TEMPORARY TABLE SESSION.TEMP1
( IBPSUB DECIMAL(12) ,
IBPQTN DECIMAL(12) ,
CLASS CHAR(4) ,
ASSETS DECIMAL(12) ) ON COMMIT PRESERVE ROWS ;
It was working fine when the DB2 version was V7.2 but now the DB2 has been migrated from V7 to V8. In DB2 V8 I am getting following...
No activity results to display
Show More
Leave a comment: