Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 1st, 2010, 05:28 AM
Authorized User
 
Join Date: Sep 2009
Posts: 31
Thanks: 6
Thanked 0 Times in 0 Posts
Default permission error

Respected Imar sir,

first of all sorry for being posting a thread in wrong forum...but i want answer from you...because you always siplify the things...sorry once agin....

I have made a website in classic asp, and after checking all bugs...i have moved website on server where i have registered a domain...

Website was working finely..but yesterday i got thr problem while uploading a photo on website...when i click on upload , it gave me an error:


Microsoft VBScript runtime error '800a0046'

Permission denied

/member/methods/save_file_mtds.asp, line 69



code in my file is
Code:
'********	FUNCTION saveToFile	  **********************
		Public Function saveToFile(name, path)
		'	Response.Write("<SPAN STYLE='font-family: verdana; font-size: 8pt; font-weight: bold;'> Revecied in save to file " & path & "</SPAN><br>")
	If dict.Exists(name) Then
	Dim temp
	temp = dict(name).Item("Value")
	Dim fso
	Set fso = Server.CreateObject("Scripting.FileSystemObject")
	Dim file
	Set file = fso.CreateTextFile(path)      //this is line 69
	For tPoint = 1 to LenB(temp)
	   file.Write Chr(AscB(MidB(temp,tPoint,1)))
	Next
	file.Close
	saveToFile = True
	Else
	saveToFile = False
	End If
	End Function


...I have cheked all my code again..it is write...when i googled the error, i m getting solutions like, go to IIS...set permissions..(and most of the problems are related to SMTP and mail..but i m getting this error while uploading photo) ..but i m confused, i have transfer the website to server which is hosted by another person..if i want to make any changes in site, i do it using filezilla..when i called him, he said its all ok from my side, it is programming issue ..what is problem , is it in code or on server side?? plz help

Thanx in advance
Sushant

Last edited by bela_sush; October 1st, 2010 at 05:52 AM.. Reason: some more text
 
Old October 1st, 2010, 12:39 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
first of all sorry for being posting a thread in wrong forum
If you're so sorry, why not post this where it belongs: in a classic ASP specific forum? It's in no way related to this book, so you're only cluttering up this forum and make it harder for others that come here for the book to find what they need.

That said, if it works locally, the code is probably fine and it must be a hosting issue.

Please continue this on the other (cross) post you made as it really doesn't belong here.

Cheers.

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old October 1st, 2010, 02:45 PM
Authorized User
 
Join Date: Sep 2009
Posts: 31
Thanks: 6
Thanked 0 Times in 0 Posts
Default where to find you..???

Respected Imar sir,
you are write...actually I have also posted a thread in asp forum @

permission error

but i didn't get reply....and i have a full faith on you....you really make things simple....and imp. is you always give us good solutions immediately even our questions are stupid...


sir, i really want to solve all my programming doubts from you...as u r the best...

so is there any other way where i can ask you any question about programming regardless programming language??


thanks in advance,
Sushant

Last edited by bela_sush; October 1st, 2010 at 02:49 PM..
 
Old October 1st, 2010, 05:39 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Patience is what you require....have another look at your post in the correct area, i have replied.
__________________
Wind is your friend
Matt
 
Old October 2nd, 2010, 09:28 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
sir, i really want to solve all my programming doubts from you
Quote:
so is there any other way where i can ask you any question about programming regardless programming language
This is not how it works. You don't post questions for me, you post questions for the public. This is a forum with hundreds if not thousands of active contributors of which I am only one.

If you want help, determine your topic (ASP, ASP.NET, databases and so on), find an appropriate forum, and make a post there. Then, as Matt said, you need patience. If someone sees your post and has an answer, you're lucky. That's how it works for me. If, and when I have the time, I visit these forums and answer posts that I find interesting, are well formulated, are on-topic, and obviously, to which I know the answer. I let all the others simply pass by...

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
permission error bela_sush Classic ASP Professional 1 October 1st, 2010 05:34 PM
Permission denied error anup.maverick Classic ASP Basics 2 June 5th, 2010 01:57 AM
Getting a permission denied error in IE 7 disto Javascript 1 September 20th, 2007 08:26 AM
Permission Denied Error interrupt Javascript How-To 6 October 15th, 2004 05:26 AM
Error 70: Permission denied junglem@n VB How-To 2 April 3rd, 2004 03:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.