#1 closed defect (fixed)
Image Loading Exception (test ticket)
| Reported by: | Kurt Admin | Owned by: | bweaver |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Curator Tool | Version: | 1.1.3642 |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | XP Pro 32 bit |
Description (last modified by )
I just tried to load on a 32-bit virtual Windows 7 and I got this error when trying to drag an image. I got this exception. See end of dialogue on the exception where I see the same thing happens on 64-bit Windows 7.
************** Exception Text **************
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\gringlobal\uploads\images\Graphics-Hoover_Images\Zea\Images_2008-06-25\PI_503654_07ncex01_SD' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
at System.IO.Directory.CreateDirectory(String path)
at GrinGlobal.Core.Toolkit.ResolveFilePath(String fileName, Boolean createDirectoriesAsNeeded) in C:\projects\GrinGlobal\GrinGlobal.Core\Toolkit.cs:line 1932
at GrinGlobal.Business.SecureData.SaveImage(String imageFileName, Byte[] imageBytes, Boolean createThumbnail, Boolean overwrite) in C:\projects\GrinGlobal\GrinGlobal.Business\SecureData.cs:line 8435
at GrinGlobal.Web.GUI.UploadImage(String userName, String password, String appOrDocRelativePath, Byte[] imageBytes, Boolean createThumbnail, Boolean overwriteIfExists)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at GRINGlobal.Client.Common.GrinGlobalGUIWebServices.GUI.UploadImage(String userName, String password, String appOrDocRelativePath, Byte[] imageBytes, Boolean createThumbnail, Boolean overwriteIfExists)
at GRINGlobal.Client.Common.WebServices.UploadImage(String destinationFilePath, Byte[] imageBytes, Boolean createThumbnail, Boolean overWriteIfExists)
at GRINGlobal.Client.Common.SharedUtils.UploadImage(String destinationFilePath, Byte[] imageBytes, Boolean createThumbnail, Boolean overWriteIfExists)
at GRINGlobal.Client.InventoryImageLoader.ux_buttonLoad_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
GRINGlobal-CuratorTool
Assembly Version: 1.0.3639.29569
Win32 Version: 1.0.3639.29569
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/GRINGlobal-CuratorTool.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.4926 built by: NetFXw7
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
GRINGlobal.Client.Common
Assembly Version: 1.0.3639.29568
Win32 Version: 1.0.3639.29568
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/GRINGlobal.Client.Common.DLL
----------------------------------------
AccessionForm
Assembly Version: 1.0.3639.29568
Win32 Version: 1.0.3639.29568
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/AccessionForm.dll
----------------------------------------
ImageForm
Assembly Version: 1.0.3639.29568
Win32 Version: 1.0.3639.29568
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/ImageForm.dll
----------------------------------------
InventoryForm
Assembly Version: 1.0.3639.29568
Win32 Version: 1.0.3639.29568
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/InventoryForm.dll
----------------------------------------
OrderForm
Assembly Version: 1.0.3639.29569
Win32 Version: 1.0.3639.29569
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/OrderForm.dll
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
n1bsp9h-
Assembly Version: 1.0.3639.29568
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
CrystalDecisions.Windows.Forms
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.1.2285
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Windows.Forms/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Windows.Forms.dll
----------------------------------------
CrystalDecisions.Shared
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.1.2285
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Shared/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Shared.dll
----------------------------------------
CrystalDecisions.ReportSource
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.1.2285
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportSource/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportSource.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
CrystalDecisions.CrystalReports.Engine
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.1.2285
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/10.5.3700.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll
----------------------------------------
CrystalDecisions.ReportAppServer.CommLayer
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.1.2285
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.CommLayer/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CommLayer.dll
----------------------------------------
CrystalDecisions.ReportAppServer.ClientDoc
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.1.2285
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ClientDoc/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ClientDoc.dll
----------------------------------------
CrystalDecisions.ReportAppServer.DataSetConversion
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.1.2285
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataSetConversion/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataSetConversion.dll
----------------------------------------
CrystalDecisions.ReportAppServer.DataDefModel
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.1.2285
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataDefModel/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataDefModel.dll
----------------------------------------
CrystalDecisions.ReportAppServer.Controllers
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.1.2285
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.Controllers/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.Controllers.dll
----------------------------------------
CrystalDecisions.ReportAppServer.ReportDefModel
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.1.2285
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ReportDefModel/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ReportDefModel.dll
----------------------------------------
CrystalDecisions.KeyCode
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.1.2285
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.KeyCode/10.5.3700.0__692fbea5521e1304/CrystalDecisions.KeyCode.dll
----------------------------------------
CustomMarshalers
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
CrystalDecisions.Enterprise.InfoStore
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.268
CodeBase: file:///C:/Windows/assembly/GAC/CrystalDecisions.Enterprise.InfoStore/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Enterprise.InfoStore.dll
----------------------------------------
crdb_adoplus
Assembly Version: 10.0.3300.0
Win32 Version: 10.5.1.2285
CodeBase: file:///C:/Program%20Files/Business%20Objects/Common/2.8/bin/crdb_adoplus.dll
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.4926
Win32 Version: 9.00.30729.4926
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a/msvcm90.dll
----------------------------------------
CrystalDecisions.Enterprise.Framework
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.268
CodeBase: file:///C:/Windows/assembly/GAC/CrystalDecisions.Enterprise.Framework/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Enterprise.Framework.dll
----------------------------------------
CrystalDecisions.Web
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.1.2285
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Web/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Web.dll
----------------------------------------
CrystalDecisions.ReportAppServer.XmlSerialize
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.1.2285
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.XmlSerialize/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.XmlSerialize.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Attachments (1)
Change History (5)
by , 17 years ago
| Attachment: | image003.jpg added |
|---|
comment:1 by , 17 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 17 years ago
I granted full rights to IIS_IUSRS (MW25PI-MILL06-F\IIS_IUSRS) to the c:\inetpub\wwwroot\gringlobal\uploads directory.
The upload worked. We of course need to limit these rights as much as possible and still allow things to work.
MJM
comment:3 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Yep, I am actually setting them to "FileSystemRights.Modify & ~FileSystemRights.ExecutFile", which means they can read/write/create/delete/list files and folders. They can't execute files, view or change access or audit permissions, change file attributes (hidden, system, indexed, archived, etc), or take ownership. I think that's as locked down as it can be and yet still allow users to do what is needed for image stuff.
This fix will be in the next release as well, I've already made the code changes.
comment:4 by , 17 years ago
| Description: | modified (diff) |
|---|

Yep, that's a middle tier problem. Looks like rights aren't correct. Could you just go to the c:\inetpub\wwwroot\gringlobal\uploads folder and give Everyone Full Control? If that fixes your problem, I'll know what I need to tweak in the installer.