Welcome to Pintexx Forum Sign in | Join | Faq

pinEdit

Started by Jake at 10-03-2008 5:18 . Topic has 14 replies.

Print Search
Sort Posts:    
   10-03-2008, 5:18
Jake is not online. Last active: 03.11.2008 08:58:39 Jake

Top 75 Posts
Joined on 10-03-2008
Posts 8
Pinedit doesn't work in ASP.NET
Reply Quote
I've downloaded and installed pineditaspnet.zip. The version is pinEdit 2.0.0.1

The component works fine in design-time in visual studio 2008 (framework is 3.5)

But at runtime, the application crashes with the errormessage "Runtime error in Microsoft BLOCKED SCRIPT 'globalSpellMode' is odefined." The error occurs in the file: "spell.js

Any ideas?
   Report 
   10-06-2008, 8:24
Pintexx Support is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.576
Re: Pinedit doesn't work in ASP.NET
Reply Quote
Hello,

the current version of pinEdit is 7.x.

Did you unzip all files to a folder ?
Are the script files (js) also included in that folder (in editor/include) ?
Did you create a virtual folder ?
What happens if you run the evaluation outside VS08 ?

Did you copy the "editor" folder to your web applications root ?
Did you copy the DLLs of evaluations bin folder or add a reference ?

Regards,
Hans-Peter

   Report 
   10-17-2008, 11:21
Jake is not online. Last active: 03.11.2008 08:58:39 Jake

Top 75 Posts
Joined on 10-03-2008
Posts 8
Re: Pinedit doesn't work in ASP.NET
Reply Quote
Hi again, and thanx for your reply!

OK right, the version of pinEdit is 7.

Anyway, I unzipped the "Editor"-folder and put it in the root of my project.
I added a reference of pinEdit.dll in my project. (All according to the installation instructions in the reference guide on the pintexx website.)

The editor appears in my toolbox, and I use it in one of my .aspx-pages.

But when I run the project, the same old error message appears. "globalSpellMode is unidentified".....

Any more suggestions?
   Report 
   10-17-2008, 12:04
Pintexx Support is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.576
Re: Pinedit doesn't work in ASP.NET
Reply Quote
Hello,

could you please check if the editor/include folder includes js files ?
It may happen that unzip does not unzip js files due to security reasons.

Regards,
Hans-Peter


   Report 
   10-17-2008, 1:13
Jake is not online. Last active: 03.11.2008 08:58:39 Jake

Top 75 Posts
Joined on 10-03-2008
Posts 8
Re: Pinedit doesn't work in ASP.NET
Reply Quote
My editor/include folder contains:

browser.js
ch.js
core.js
dialog.js
listbox.js
validate.js




   Report 
   10-17-2008, 2:13
Pintexx Support is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.576
Re: Pinedit doesn't work in ASP.NET
Reply Quote
Hello,

we downloaded the zip file again and installed and it works for us.

Could you please do this:

Unzip the pinEditAspNet.zip to a folder.
Create a virtual directory in IIS that points to that folder. Check if ASP.Net framework 2+ is set to this web.
Run localhost/--name---

Please tell me if that works for you.
You can also send an email to support@pintexx.com then we can react faster.

Regards,
Hans-Peter

   Report 
   10-27-2008, 11:39
Jake is not online. Last active: 03.11.2008 08:58:39 Jake

Top 75 Posts
Joined on 10-03-2008
Posts 8
Re: Pinedit doesn't work in ASP.NET
Reply Quote
Sorry it doesn't work.

I get the following error message:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'pinEdit' or one of its dependencies. Det går inte att hitta filen.

Source Error:


Line 1:
Line 2:
Line 3:
Line 4:


Source File: /pintexx/samples/add_editor.aspx Line: 2

Assembly Load Trace: The following information can be helpful to determine why the assembly 'pinEdit' could not be loaded.


=== Pre-bind state information ===
LOG: User = NT INSTANS\NÄTVERKSTJÄNST
LOG: DisplayName = pinEdit
(Partial)
LOG: Appbase = file:///C:/inetpub/wwwroot/
LOG: Initial PrivatePath = C:\inetpub\wwwroot\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\inetpub\wwwroot\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: The same bind was seen before, and was failed with hr = 0x80070002.




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
   Report 
   10-27-2008, 11:42
Jake is not online. Last active: 03.11.2008 08:58:39 Jake

Top 75 Posts
Joined on 10-03-2008
Posts 8
Re: Pinedit doesn't work in ASP.NET
Reply Quote
Line 1,2,3,4 above says (without html-tags>:


Line 1: %@ Page Language="vb" AutoEventWireup="false" Inherits="Pintexx.Components.Web.pinEdit.Samples.add_editor" CodeFile="add_editor.aspx.vb" %
Line 2: %@ Register TagPrefix="pin" Namespace="Pintexx.Components.Web.pinEdit" Assembly="pinEdit" %
Line 3: !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
Line 4: html


   Report 
   10-27-2008, 1:37
Pintexx Support is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.576
Re: Pinedit doesn't work in ASP.NET
Reply Quote
Hello,

what happens if you run:

http://localhost/--virtual-name--/editor/pinedit.aspx

Regards,
Hans-Peter
   Report 
   10-27-2008, 2:08
Jake is not online. Last active: 03.11.2008 08:58:39 Jake

Top 75 Posts
Joined on 10-03-2008
Posts 8
Re: Pinedit doesn't work in ASP.NET
Reply Quote
Ok.. I get the following error message:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'pinEdit' or one of its dependencies. Det går inte att hitta filen.

Source Error:


Line 1: %@ Page Language="VB" validateRequest="false" %
Line 2: %@ Register TagPrefix="pin" Namespace="Pintexx.Components.Web.pinEdit" Assembly="pinEdit" %
Line 3:
Line 4: script runat="server"


Source File: /pintexx/editor/pinedit.aspx Line: 2

Assembly Load Trace: The following information can be helpful to determine why the assembly 'pinEdit' could not be loaded.


=== Pre-bind state information ===
LOG: User = NT INSTANS\NÄTVERKSTJÄNST
LOG: DisplayName = pinEdit
(Partial)
LOG: Appbase = file:///C:/inetpub/wwwroot/
LOG: Initial PrivatePath = C:\inetpub\wwwroot\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\inetpub\wwwroot\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: The same bind was seen before, and was failed with hr = 0x80070002.




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
   Report 
   10-27-2008, 3:09
Pintexx Support is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.576
Re: Pinedit doesn't work in ASP.NET
Reply Quote
Hello,

what is the name of your virtual folder ?

Regards,
Hans-Peter
   Report 
   10-28-2008, 2:21
Jake is not online. Last active: 03.11.2008 08:58:39 Jake

Top 75 Posts
Joined on 10-03-2008
Posts 8
Re: Pinedit doesn't work in ASP.NET
Reply Quote
The name of my virtual folder is "pintexx".
//J
   Report 
   10-28-2008, 4:18
Pintexx Support is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.576
Re: Pinedit doesn't work in ASP.NET
Reply Quote
Hello,

this is indeed very strange.

Could you please try this:
Create a new "Web Site" and choose "http" and "http://localhost/pinEditTest" as url.

Copy "editor" folder to web applications root and add the pinEdit.dll to your toolbox.
The create a new web page and add pinEdit.
Then run.

What happens ?

Regards,
Hans-Peter
   Report 
   11-03-2008, 11:00
Jake is not online. Last active: 03.11.2008 08:58:39 Jake

Top 75 Posts
Joined on 10-03-2008
Posts 8
Re: Pinedit doesn't work in ASP.NET
Reply Quote
Hi again.
I did all of the above. But i get the same old error message 'globalSpellMode is undefined' :-(
   Report 
   11-06-2008, 3:02
Pintexx Support is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.576
Re: Pinedit doesn't work in ASP.NET
Reply Quote
Hello,

I have sent a complete VS 2008 project that works for us.
Please test and respond to my email.

Regards,
Hans-Peter
   Report 
Pintexx Forum » Developer Produ... » pinEdit » Re: Pinedit doesn't work in ASP.NET