|
 |
aspx_web_matrix thread: Chapter 9 Displaying Data MXDATAGRID problems
Message #1 by "Gary Hopkins" <gary.a.hopkins@l...> on Wed, 26 Feb 2003 19:48:25
|
|
My First post:
I am working through David Sussman's Beginning Dynamic Websites with
ASP.NET Web Matrix ( a very excellent book) ... in chapter nine you build
a page using web matrix's MXDataGrid... My problem was with the try it out
on page 280... I could get the Images to show when i used the path for the
web matrix files on my local machine - that is in the database field
CoverImageURL contained "c:\webmatrix\cam\images\noinspiration.gif"
( I have a remote IIS server running with a virtual site setup for this
book. So I can test locally and with a "real life" scenario where the .net
server is IIS on a remote box)
HOWEVER when i tried to run MXDataGrid.aspx on the remote server I got
application compiler errors because of line 2
<%@ Register TagPrefix="wmx" Namespace="Microsoft.Saturn.Framework.Web.UI"
Assembly="Microsoft.Saturn.Framework, Version=0.5.464.0, Culture=neutral,
PublicKeyToken=6f763c9966660626" %>
my server did not know about this namespace - Sooo the solution was to
copy all the webmatrix dll's from my local system into the /bin directory
on the remote system and voila! everything was cool. I also had to
change the image page to the relative root of the server to now show ....
CoverImageURL = "/Cam/images/noinspiration.gif"
hope this helps anyone with this problem....
Message #2 by David Barnes <DavidB@w...> on Thu, 27 Feb 2003 11:57:31 -0000
|
|
Hi Gary
I was the commissioning editor on Beginning Dynamic Websites. I'm glad you
like the book. :)
Thanks for the tip... I'm sure it'll come in handy if other readers email
support with similar problems.
If you don't mind me asking, what made you buy the book? Have you done any
programming before, are are you just starting? Either way, I hope you're
enjoying Web Matrix.
Feel free to email me off the list if you prefer... it'd be really helpful
to hear your views.
Best regards
David Barnes
Editor, Wrox Press
> -----Original Message-----
> From: Gary Hopkins [mailto:gary.a.hopkins@l...]
> Sent: Wednesday, February 26, 2003 7:48 PM
> To: ASP.NET Web Matrix
> Subject: [aspx_web_matrix] Chapter 9 Displaying Data
> MXDATAGRID problems
>
>
> My First post:
>
> I am working through David Sussman's Beginning Dynamic Websites with
> ASP.NET Web Matrix ( a very excellent book) ... in chapter
> nine you build
> a page using web matrix's MXDataGrid... My problem was with
> the try it out
> on page 280... I could get the Images to show when i used the
> path for the
> web matrix files on my local machine - that is in the database field
> CoverImageURL contained "c:\webmatrix\cam\images\noinspiration.gif"
>
> ( I have a remote IIS server running with a virtual site
> setup for this
> book. So I can test locally and with a "real life" scenario
> where the .net
> server is IIS on a remote box)
>
> HOWEVER when i tried to run MXDataGrid.aspx on the remote
> server I got
> application compiler errors because of line 2
>
> <%@ Register TagPrefix="wmx"
> Namespace="Microsoft.Saturn.Framework.Web.UI"
> Assembly="Microsoft.Saturn.Framework, Version=0.5.464.0,
> Culture=neutral,
> PublicKeyToken=6f763c9966660626" %>
>
> my server did not know about this namespace - Sooo the
> solution was to
> copy all the webmatrix dll's from my local system into the
> /bin directory
> on the remote system and voila! everything was cool. I also had to
> change the image page to the relative root of the server to
> now show ....
> CoverImageURL = "/Cam/images/noinspiration.gif"
>
> hope this helps anyone with this problem....
>
|
|
 |