.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

A Login Site for a Few Friends to Upload Pictures - Help Please

Posted By:      Posted Date: September 24, 2010    Points: 0   Category :ASP.Net

Good Day,

I am new to the ASP and MS Visual Web Developer.  So can we please keep this conversation in a ASP VB for Dummies Dialog!

I have
 1 - Created a Registration Page using The CreateUserWizard in it's most basic form
 2 - Created a Login Page using the Login Control in it's most basic form
 3 - I created a folder on my IIS7 / ASP Hosting Account's Server called photos which is technically "~/photos" (if I am correct)
  set that folder up for write permissions
 4 - I have a page (uploadphoto.aspx) with a FileUpload control and a Button when clicked uploads a file (*.jpg) to the photos folder (I mentioned above).

So I have this working, and it's basic.  What I want to change, sounds simple, but yet I have no Idea on how to do it. Which is:

 1a. When a Visitor creates a user name (at registration), i need a subfolder created under the photos folder that will be equal to the users login name
  (example - I register as samcook, so now a folder named samcook will be created which would technically be "~/photos/samcook"

 I will then build a web page that will include pictures from the samcook folder (this part I know how to do also)

 Please help, I have been reading the forums for 2 days and still have no

View Complete Post

More Related Resource Links

Visual Web Developer 2010 Express "Copy Web Site" using different login


I created a site and am trying to grant another pesron access to upload changes to it without giving them my super-user login.

I made a login for her but I can't test whether it works or not because no matter how much I "disconnect" in the Copy Web Site page of VWD 2010, reconnecting to the same site always logs in as my superuser account without prompting me for a login again.

How do I test is the account it set up correctly before having her try to upload to it?    I want to force the login to remote site dialog to pop up again to test her account.

Any ideas?

Login page for whole site


Hi all,


I've been searching and trying to get this now for hours, so i though i'd come here.

For my website, there will be an admin site. I want to create users in my website database, i have a logins table with a hashed password column. The problem i have is making sure that every request if not already logged in send the user to the login page.


I have a page Login.aspx which i have created, but if i enter http://website/admin/news.aspx it bypasses the login screen and shows the page!!


Does anyone know how i can do this? i have created Login.aspx myself and verified that the username and password enetered are correct.




send the login credentials from site to another server



  i have a site which uses windows credentials to login and in the site i have link to ssrs server.

when i select the report it asks for authentication which i want to skip and send the same user

crendentials to the ssrsserver to access the report.

can anyone suggest on this..

It's possible to using sharepoint services 3.0 hosted site without authentication login ?

It's that any way to able user read / write by without login authentication for sharepoint services 3.0. because i'm having problem when external user need to access to our sharepoint pages, but their can login to it.

Upload Email in to Sharepoint Site

hi can we do Email upload  in sharepoint site?.. if yes,pls guide me to upload.. Thanks ___________________ arWINdh  

Cookies used in login to SharePoint site

I am trying to logon to my remote site while using SharePoint Designer 2007 and my login fails each and every time.  I loaded Fiddler to see what is going on and can see that there is a cookie being passed which contains an invalid pwd.  I have deleted all the stored cookies in IE, but still see the invalid pwd being sent to the host.  If the cookies are not stored in the IE files, where might they be stored?

Small site embedded login validating against Active Directory and redrecting to SharePoint site


I am only finding pieces of this information. 

Challenge: Have a standard page with a login box in the corner that is exposed on the web.  The login will validate an employee against AD and also redirect them to a site collection.

I have found information on claims based authentication and the AD Membership provider.  I have also found information on form based login pages.  Most of these examples though just modify the SharePoint form login.  I want to create just a small login box on a page that is already created.  The one thing that I can't seem to find any really solid information on is the redirect to a site collection.

Can anyone tie all of this together for me?  Am I using the correct terminology and heading down the right path.

Any help is greatly appreciated.

cannot upload documents to sharepoint site



If I try to upload a document (for example make a new document in word and try to save it to sharepint site) to Sharepoint Foudation site, then I get an upload error.

Only one error event occurs in Application Log (Sharepoint Foundation Server)


Log Name:      Application
Source:        System.ServiceModel
Date:          28.09.2010 9:57:59
Event ID:      3
Task Category: WebHost
Level:         Error
Keywords:      Classic
User:          DOMAIN\user
Computer:      server.domain.name
WebHost failed to process a request.
 Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/20726372
 Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/cellstorage.svc' cannot be activated due to an exception during compilation.  The exception message is: A binding instance has already been associated to listen URI 'http://server.domain.name/_vti_bin/cellstorage.svc/CellStorageService'. If two en

Site Login



I m using site login Control in my login.ascx file and disaplaying login control in Div so if there is login link in page and i click on that then Login Div will popup which is site login.


My i know how i can handle erros like username or password is incorrect on client side instead server side? 

Moss public facing site login



   is there a way to completely prevent login for a public facing Moss site? I have extended the web application so I have separate authentication providers and what I would like to do is prevent any login ability to the public facing side and all content authoring be completed through extended web app which is only available internally.

Can no longer upload any files to the site via Sharepoint Designer



My colleague is using Sharepoint Designer with MOSS 2007. She made a folder in the site root and is putting pictures of employees there in order to show them in profiles. Suddenly, this morning, she can no longer do it. She can create new folders, rename them, etc, but if she tries to upload any file anywhere via the Designer, a message will instantly pop up (as usual, message is in russian, with no error code...) complaining about "connection time out" or "connection lost" or something. Of course, since she can still rename folders etc, the connection is just fine.

We tried iisreset and reboot of the pc running the designer but it didnt help. Still we cannot upload any file anymore. 

More than that, previously she could upload files with going into a document library, then using an option to "open in explorer", then a windows explorer windows would pop up, showing the address of the sharepoint site folder in adress bar, like "http://sharepointsrv/sites/portal/Sharepoint/" and allowing to copy files into it, and those files copied there would then appear on the server in the doc library. But now copying files this way also does nothing.

All we remember doing fro

User who are all login the site


hi all,

       I want to know the list of users who are all login the sites ,if any body know how to do please reply me

How to use Login Control in already created Web Site Project ?



actually i have already created my web site project.Now i want to use login control in my project.So can you please guide me how i can use it in my existing project? 

Programmatically Upload Pictures to SharePoint Profile Picture Store using Powershell


I'm trying to create a powershell script that will bulk upload pictures to the SharePoint Profile Picture Store located in a "http://sp2010/my/User Photos/Profile Pictures".  I found Chris Johnson's blog post ( http://blogs.msdn.com/b/cjohnson/archive/2010/05/08/sharepoint-2010-office-2010-and-profile-pictures.aspx )  extremely useful.  However, the SPUtils.ps1 that is referenced on his site doesn't seem to support uploading to the "Profile Pictures" folder within the "User Photos" picture library at "http://sp2010/my/User Photos".  My account has full control of the "User Photos" picture library and the "Profile Pictures" folder, and I can upload to the "User Photos", root directory with no problems.  The file fails to upload to the "Profile Pictures" folder.

Currently my Powershell script processes a folder of pictures.  First, it pulls the file name and does some manipulations to retrieve the employee number of the employee.  Second, it performs an active directory search to get the employee's user name.  Third, it resizes the photo to match the small, medium, and large thumbnails generated by a traditional manual upload of a photo from the user's edit profile page.  After each creation of the resized picture it uploads the picture t

cant' use upload multi pictures


When i want to upload pictures with the multiple pictures button.

i recieve:" If you have not finish uploading the pictures, switch to the picture editor and finish upload".

with 2007 i know that i must dubble click on the "oisctrl.dll".

what must i click or activate with 2010


pdf files in document library cause second login on secure sharepoint site


in somewhat of a twist to the previous kb 943280 I have clients accessing my wss 3.0 site over ssl.

they attempt to go into their document libraries and are able to receive the ms type documents and their associated icons show up.

however in attempt to get to the pdf documents they're asked to login again, and if they bypass the login they can access the pdf file fine, it just doesn't draw the pdf icon.

I do have the icon correctly installed, for me as site owner the icon displays fine and I do not get asked to login again.

What I have seen with the other users is that they're using Vista home and/or business with the 256bit encryption while I am using the 128 bit encryption.

This site was also previously on a hosted site, not requiring ssl, but no one had the second login issue which makes me think I am missing a server option that should be on my machine.

Thanks in Advance!

User login and Admin login on the same site



I have a login page for my users. And I want my admin login to have its own page. Right now I have to login as an admin in the same page as the users.

How can I have 2 login on my site? I get an error if I have authentication forms on both my web.configs.


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend