Hi,
I get this error " Error: only 4k page alignments supported at this tim=
e, =

found in module system.data.sqlserverce.dll
Fatal error hit, exiting... "
when i try to add the file system.data.sqlserverce.dll (SQL Server 2005 =
=

mobile) to my WinCE 5.0 image

Does anyone know what this error measn?
I also get this error with the file system.data.sqlserverce.resources.dl=
l

Regards
-- =

Javier Grijalba
www.positivesystems.com
Touch Panel - PC Systems

Re: Build Error: only 4K page alignments with the file system.data.sqlserverce.dll by Javier

Javier
Thu May 18 10:20:43 CDT 2006

Hi,
I found the answer in internet from Steve Maillet \(eMVP\)

To answer the original question:
Managed code files should be placed in the FILES section of the BIB file=
s
not the MODULES section as the MSIL is not capable of XIP.

The problem is I have to add mannaully and add to the Files section of B=
IB =

and can=C2=B4t use the great tool CEFileWiz.exe.
Bye
Javier

On Wed, 17 May 2006 11:24:52 +0200, Javier Grijalba =

<Jgrijalba@positivesystems.com> wrote:

> Hi,
> I get this error " Error: only 4k page alignments supported at this =

> time, found in module system.data.sqlserverce.dll
> Fatal error hit, exiting... "
> when i try to add the file system.data.sqlserverce.dll (SQL Server 200=
5 =

> mobile) to my WinCE 5.0 image
>
> Does anyone know what this error measn?
> I also get this error with the file system.data.sqlserverce.resources.=
dll
>
> Regards



-- =

Javier Grijalba
www.positivesystems.com
Touch Panel - PC Systems

Re: Build Error: only 4K page alignments with the file system.data.sqlserverce.dll by Steve

Steve
Thu May 18 10:56:34 CDT 2006

CEFileWiz should detect managed code and place it into the FILES section. I
vaguely recall Mike proudly explaining what he had to go through to get that
to work.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com



Re: Build Error: only 4K page alignments with the file system.data.sqlserverce.dll by Javier

Javier
Thu May 18 11:42:46 CDT 2006

Is Mike no longer in this newsgroup?

Maybe I have the wrong version, I get this error
"Version 2.0 is not a compatible version."
and in Details
"See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.BadImageFormatException: Version 2.0 is not a compatible version.=

at System.Reflection.Assembly.nLoadFile(String path, Evidence eviden=
ce, =

StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFile(String path)
at CEFileWiz.Form1.GetAssemblyName(FileClass& fc)
at CEFileWiz.Form1.AddFiles_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.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg=
, =

IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: =

file:///c:/winnt/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
CEFileWiz
Assembly Version: 1.0.2069.29093
Win32 Version: 1.0.2069.29093
CodeBase: =

file:///C:/Documents%20and%20Settings/Javier/Desktop/CEFileWiz.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: =

file:///c:/winnt/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561=
934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: =

file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system=
.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: =

file:///c:/winnt/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3=
a/system.drawing.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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=3D"true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog."


On Thu, 18 May 2006 17:56:34 +0200, Steve Maillet (eMVP) =

<nospam1@EntelechyConsulting.com> wrote:

> CEFileWiz should detect managed code and place it into the FILES =

> section. I
> vaguely recall Mike proudly explaining what he had to go through to ge=
t =

> that
> to work.
>



-- =

Javier Grijalba
www.positivesystems.com
Touch Panel - PC Systems

Re: Build Error: only 4K page alignments with the file system.data.sqlserverce.dll by Mike

Mike
Thu May 18 17:10:23 CDT 2006

Hi Javier,

Have you downloaded the latest version of CEFileWiz from here -
http://embeddedpodcast.com/Tools/CEFileWiz.zip ?

Let me know if you still have problems after downloading the latest version.
I can be contacted at Mikehall@microsoft.com

Thanks,

- Mike

" Javier Grijalba" <Jgrijalba@positivesystems.com> wrote in message
news:op.s9q91kwet6h75n@mulita...
Is Mike no longer in this newsgroup?

Maybe I have the wrong version, I get this error
"Version 2.0 is not a compatible version."
and in Details
"See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.BadImageFormatException: Version 2.0 is not a compatible version.
at System.Reflection.Assembly.nLoadFile(String path, Evidence evidence,
StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFile(String path)
at CEFileWiz.Form1.GetAssemblyName(FileClass& fc)
at CEFileWiz.Form1.AddFiles_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.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/winnt/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
CEFileWiz
Assembly Version: 1.0.2069.29093
Win32 Version: 1.0.2069.29093
CodeBase:
file:///C:/Documents%20and%20Settings/Javier/Desktop/CEFileWiz.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/winnt/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/winnt/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog."


On Thu, 18 May 2006 17:56:34 +0200, Steve Maillet (eMVP)
<nospam1@EntelechyConsulting.com> wrote:

> CEFileWiz should detect managed code and place it into the FILES section.
> I
> vaguely recall Mike proudly explaining what he had to go through to get
> that
> to work.
>



--
Javier Grijalba
www.positivesystems.com
Touch Panel - PC Systems