NopEasy Picture Uploader v1.0

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
cssolutions wrote:
What versions of NOP Does this currently support?


Versions though 1.90 - I haven't tested the earliest versions, but at least 1.40 and on will work.
12 years ago
Hello. I bought your software some time ago, I could not use it because my hosting do not Permet remote database management.

Now we nopeasy software connects to my database but does not load anything and gives me an error message.

______________________________________________________________________________________________

Information on how to invoke the debug JIT (Just-In-Time) instead of this dialog
are shown in the bottom of the message.

************** Exception Text **************
System.Data.SqlClient.SqlException: Invalid object name 'Nop_Setting'.
   in System.Data.SqlClient.SqlConnection.OnError (SqlException exception, Boolean breakConnection)
   in System.Data.SqlClient.SqlInternalConnection.OnError (SqlException exception, Boolean breakConnection)
   in System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning (TdsParserStateObject stateObj)
   in System.Data.SqlClient.TdsParser.Run (RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader Datastream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   in System.Data.SqlClient.SqlDataReader.ConsumeMetaData ()
   in System.Data.SqlClient.SqlDataReader.get_MetaData ()
   in System.Data.SqlClient.SqlCommand.FinishExecuteReader (SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   in System.Data.SqlClient.SqlCommand.RunExecuteReaderTds (CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   in System.Data.SqlClient.SqlCommand.RunExecuteReader (CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   in System.Data.SqlClient.SqlCommand.RunExecuteReader (CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader (CommandBehavior behavior, String method)
   in System.Data.SqlClient.SqlCommand.ExecuteDbDataReader (CommandBehavior behavior)
   in System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader (CommandBehavior behavior)
   in System.Data.Common.DbDataAdapter.FillInternal (DataSet dataset, DataTable [] DataTables, startRecord Int32, Int32 MaxRecords, srcTable String, IDbCommand command, CommandBehavior behavior)
   in System.Data.Common.DbDataAdapter.Fill (DataSet dataSet, Int32 startRecord, MaxRecords Int32, String srcTable, IDbCommand command, CommandBehavior behavior)
   in System.Data.Common.DbDataAdapter.Fill (DataSet dataSet, String srcTable)
   in NopEasy_Picture_Manager.ProductPictures.getVersionInfo ()
   in NopEasy_Picture_Manager.ProductPictures.DoStart ()
   in NopEasy_Picture_Manager.DataConnections.btnConnect_Click (Object sender, EventArgs e)
   in System.Windows.Forms.Control.OnClick (EventArgs e)
   in System.Windows.Forms.Button.OnClick (EventArgs e)
   in System.Windows.Forms.Button.OnMouseUp (MouseEventArgs mevent)
   in System.Windows.Forms.Control.WmMouseUp (Message & m, MouseButtons button, Int32 clicks)
   in System.Windows.Forms.Control.WndProc (Message & m)
   in System.Windows.Forms.ButtonBase.WndProc (Message & m)
   in System.Windows.Forms.Button.WndProc (Message & m)
   in System.Windows.Forms.Control.ControlNativeWindow.OnMessage (Message & m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc (Message & m)
   in System.Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Assemblies ************** ************** loaded
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
    Codebase: file: / / / C: / Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
mscorlib.resources
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
    Codebase: file: / / / C: / Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
NopEasy Picture Manager
    Assembly Version: 1.1.1.0
    Win32 Version: 1.1.1.0
    Codebase: file: / / / C: / Program%% 20Files/NopEasy 20Picture 20Manager/NopEasy%%% 20Picture 20Manager.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
    Code base:
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
    Codebase: file: / / / C: / Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
    Code base:
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    Codebase: file: / / / C: / Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    Code base:
----------------------------------------
System.Windows.Forms.resources
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    Code base:
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    Codebase: file: / / / C: / Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    Codebase: file: / / / C: / Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    Code base:
----------------------------------------
System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    Code base:
----------------------------------------
System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Code base:
----------------------------------------
System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    Code base:
----------------------------------------
Microsoft.Data.ConnectionUI.Dialog
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    Codebase: file: / / / C: / Program%% 20Files/NopEasy 20Picture 20Manager/Microsoft.Data.ConnectionUI.Dialog.DLL%
----------------------------------------
Microsoft.Data.ConnectionUI
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    Codebase: file: / / / C: / Program%% 20Files/NopEasy 20Picture 20Manager/Microsoft.Data.ConnectionUI.DLL%
----------------------------------------
System.Xml.Linq
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.5420 built by: Win7SP1
    Codebase: file: / / / C: / Windows/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.5420 built by: Win7SP1
    Codebase: file: / / / C: / Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Data.OracleClient
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    Code base:
----------------------------------------

************** ************** JIT Debugging
To enable the JIT debugging, you must set the value
jitDebugging system.windows.forms section of the configuration file
application or computer (machine.config).
The application must also be compiled with debugging
activated.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</ Configuration>

When JIT debugging is enabled, any unhandled exceptions
are sent to the JIT debugger registered on the computer
instead of being handled by this dialog box.
12 years ago
renne wrote:
Hello. I bought your software some time ago, I could not use it because my hosting do not Permet remote database management.

Now we nopeasy software connects to my database but does not load anything and gives me an error message.


Check your PM
12 years ago
Hello,

I recently installed NopCom 2.30, I having trouble importing images into the database, I currently have Microsoft Sql 2008 and I'm trying to manually insert row's into the database to view on the front end. I can physically create the category and products but when I go to map the image it does not view on the front end. The reason for me doing this is I will be connecting to an existing database to the new one I am currently working on.

Within the admin of NopCom I have changed the Media setting's to file system and set up my configuration to the file I created. The company I am working for has over 10,000 products and images.

For the life of me I can't view the image.. Any help advice or any pointer's in the right direction would be great.

Kind Regards

Richard
12 years ago
Hello,

I recently installed NopCom 2.30, I having trouble importing images into the database, I currently have Microsoft Sql 2008 and I'm trying to manually insert row's into the database to view on the front end. I can physically create the category and products but when I go to map the image it does not view on the front end. The reason for me doing this is I will be connecting to an existing database to the new one I am currently working on.

Within the admin of NopCom I have changed the Media setting's to file system and set up my configuration to the file I created. The company I am working for has over 10,000 products and images.

For the life of me I can't view the image.. Any help advice or any pointer's in the right direction would be great.

Kind Regards

Richard
12 years ago
wertyuio1 wrote:
Hello,

I recently installed NopCom 2.30, I having trouble importing images into the database, I currently have Microsoft Sql 2008 and I'm trying to manually insert row's into the database to view on the front end. I can physically create the category and products but when I go to map the image it does not view on the front end. The reason for me doing this is I will be connecting to an existing database to the new one I am currently working on.

Within the admin of NopCom I have changed the Media setting's to file system and set up my configuration to the file I created. The company I am working for has over 10,000 products and images.

For the life of me I can't view the image.. Any help advice or any pointer's in the right direction would be great.

Kind Regards

Richard


How are you trying to import the images into the database? Are you inserting them into the database yourself?
12 years ago
Thank you for the quick response, Yes I am. I'm trying just to add a new row but the Picture Binary remains NULL.

We are on a localhost currently and testing the operational systems o various ECommerce packages, the company I work for has an in house database that uses a replication process to update there stock levels every evening, the database I'm currently creating will be linked to this system in time but we need to find a way of uploading the images first and connecting them to specific stock codes...

I can do it through the admin interface with ease but I have been told/asked to do it manually in the database.

Is this possible any help would be great.

Kind regards - Once again thank you for the quick response..
12 years ago
wertyuio1 wrote:
Thank you for the quick response, Yes I am. I'm trying just to add a new row but the Picture Binary remains NULL.

We are on a localhost currently and testing the operational systems o various ECommerce packages, the company I work for has an in house database that uses a replication process to update there stock levels every evening, the database I'm currently creating will be linked to this system in time but we need to find a way of uploading the images first and connecting them to specific stock codes...

I can do it through the admin interface with ease but I have been told/asked to do it manually in the database.

Is this possible any help would be great.

Kind regards - Once again thank you for the quick response..


How are you doing it manually... through SQL?

I don't know the table or column name off-hand, but you can try something like this:

INSERT INTO TableName(ColumnName)
SELECT * FROM
OPENROWSET(BULK N'C:\Image1.jpg', SINGLE_BLOB) As Image

... to upload an image from your hard drive into the database. Of course you replace the table and column name and the file path. This code may not be exactly right, I found it online somewhere. This isn't how I do it in my program, but I can't remember that off-hand either.
12 years ago
I have been writing directly into the table. As I mentioned I'm a complete novice this is the first application I have ever built..

The table in question is dbo.picture from the example/ template web shop.

The table is constructed like so with examples

ID - 1
Picture Binary - <Binarydata>
MimeType - image/jepg
SeoFilename - imagefile
IsNew - True/False

I have highlighted the coloum Im having issues with. The company wants to reference a sort/product to an image so when entering a search option it goes directly to the product/information and image.

Once again any help would be greatly appreciated... Thank you..
12 years ago
This is the dbo.picture in question as you can see I executed the SQL as stated and was hit with the error below,

/****** Script for SelectTopNRows command from SSMS  ******/
SELECT TOP 1000 [Id]
      ,[PictureBinary]
      ,[MimeType]
      ,[SeoFilename]
      ,[IsNew]
  FROM [Nop].[dbo].[Picture]
  

INSERT INTO [Nop].[dbo].[Picture](SeoFilename)

SELECT * FROM
OPENROWSET(BULK N'C:\smith.jpg', SINGLE_BLOB) As Image


(83 row(s) affected)
Msg 8152, Level 16, State 10, Line 9
String or binary data would be truncated.
The statement has been terminated.

I would preferable store the images on a file system, any advice would be great.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.