error in uploading files in "basic web player"

Topics: Developer Forum
May 31, 2011 at 7:22 AM

can "basic web player" be installed in windows xp sp2 or it requires windows server only?

however i am getting an error while uploading SCORM packages to it as follows:

An exception occurred while uploading a package:
System.IO.IOException: The directory name is invalid.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)   at System.IO.__Error.WinIOError()   at System.IO.Path.GetTempFileName()   at Microsoft.LearningComponents.PackageReader.Create(Stream package)

May 31, 2011 at 3:21 PM

Make sure the folder that holds your zips has the proper permissions for the application to copy from.  This is the one item I always forget when starting up a new server.

May 31, 2011 at 6:50 PM
Edited May 31, 2011 at 6:52 PM

I had this same issue. Bfelda is correct, check your user permissions. I had to use impersonation.

 

In the web.config under <system.web> add:

<identity impersonate="true" userName="USER" password="PASS" />

Jun 1, 2011 at 6:02 AM
Edited Jun 1, 2011 at 8:40 AM

thanks for the response...