|
Hi Abhijit,
The first article describes about the IIS beautifully but I have a problem here, You said that I can see the w3wp.exe running on my task manager but I cannot see this what does this mean?; On the other hand I have hosted my webservice on the IIS which is running beautifully?
Please explain
Thanks
Shankbond
|
|
|
|
|
shankbond wrote: You said that I can see the w3wp.exe running on my task manager but I cannot see this what does this mean?;
What is the version of your IIS ?
if it is IIS 6.0 or more, you will get "w3wp.exe"
if you are having IIS 5.1 then you will have aspnet_wp.exe
My Article was all about IIS 6.0
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
OH! thanks,
One more thing: I have a website running on production server when I connect through my LAN to that server do I need to have User Id and Password for that system to connect to it, and through which port I will be connecting to it so that I can create an exception on firewall.
Please reply
Thanks
Shankbond
|
|
|
|
|
Useful??
Related link if you have problems finding the right .pdb files
|
|
|
|
|
Remember a Web service is like a Method in another Class , but lets say you only have a DLL and you add a Reference to that DLL. You will can add a breakpoints where you create an object of the Class fill the Time you call the functions of that class , but you can walk through the DLL. you need a Source code for that. Same Applies to the web service, you can walk through it.
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Hi,
I created one Java script function, its validating between two cells from gridview , like if(cell[1] < cell[2]) if it so i am populating alert("wrong input"); return false;
if its false then the Text Change event should not fire from Code behind..but This event is fired even function return True/false.. That to i was called the Javascript function in Onblur event ...can u give me the Solution for this issue???
regards,
kannak.....
kannak
|
|
|
|
|
How you invoking you event? Is it through js?
Please don't forget to mark 'Good Answer', if you find it really a good one!
Kashif
|
|
|
|
|
There's a possibility of having some error in your js, if so, the event will fire weather it's true or false.
Please don't forget to mark 'Good Answer', if you find it really a good one!
Kashif
|
|
|
|
|
can i upload multifile in one time ? in c#
e.x. for one file upload i wrote :
protected System.Web.UI.WebControls.FileUpload attach;
attach = new FileUpload();
item.Attachments.Add(attach.FileName, attach.FileBytes);
but now i want 3,4,5,... files in one time
|
|
|
|
|
ptvce wrote: can i upload multifile in one time
You have create your own control or you have to use 3 party control in asp.net.
There is no built in asp.net control that can upload multiple file.
|
|
|
|
|
Add 3 or 4 or 5 Upload Controls and add one Button that Will do the Upload for all these Control. add a Progress Bar so that your users will know what is happening.
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
When you place more than one fileupload control, all the chosen files will be sent on submit of the request.
You will find each file in its file collection..
|
|
|
|
|
i want uppload a file in virtual directory Can i?
is it possible? can anybody help?
|
|
|
|
|
Have you try to search on google?[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
yes its Possible. Use the Upload control and set the destination of the File to your "App_Data" that is always shipped with your application or use the relative path.
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Respected,
Hi sir ,I am save the image on server folder when I retrieve image for display from server folder
it not be display
my code is as follow :
Dim photo As String = "JC001924.jpg"
Dim strimage As String = "~/SchoolFeeCollection_lalit1/Photos/JC001924.jpg" '"~/Photos/" & photo
Image1.ImageUrl = Server.MapPath(strimage)
|
|
|
|
|
Your variable strimage returns correct path?! It seems to me that isn't correctly initialized.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
|
whats this..?
Dim strimage As String = "~/SchoolFeeCollection_lalit1/Photos/JC001924.jpg" '"~/Photos/" & photo
the easy way to find the path is to ..!
drop an image control and go to properties set the image url to the image which is stored in the folder..!and copy the path from the source which will generate by VS..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
I might be missing something blindingly obvious here but you don't need to call Server.MapPath when setting an image url. Server.MapPath will give you the physical location on the server disk which is useless when the web page is sent to the client.
|
|
|
|
|
Server.MapPath will return the actual physical path which wont work as an image url. If you want to generate the virtual path at run time use Page.ResolveClientUrl method instead.
"Never put off until run time what you can do at compile time."
- David Gries, in "Compiler Construction for Digital Computers", circa 1969.
|
|
|
|
|
Hello there
I've a website that allows a user to create and download a document. I first save the file in the server and then let the user download it. This works just fine. But when multiple users try to do this, they must create their own copy of the file in the server. Can somebody suggest a foolproof way of naming the file - so that everyuser downloads only their copy of the file.
Many thanks in advance.
|
|
|
|
|
One of possibilities is:
string uniqueFileName = Guid.NewGuid().ToString();
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
Hey Guys, Happy newyear. Just came back from the vacation and am glad to see so many replies. Many thanks for all of you.
I guess I will settle down with GUID.
tahnks once again, Blue_Boy.
|
|
|
|
|
You are welcome, I'm glad to help you.
Happy new year to you too.
Year happy = new Year(2010);
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|