by JasonRShaver
6. October 2007 16:40
So I was starting to see this error after installing a new DotNetNuke 4.6.2 web application. Here is the order I did things.
- Download the install file 'DotNetNuke_04.06.02_Install.zip' from the DotNetNuke website to my development machine.
- Copy the file from my development machine to a network share.
- Take a new Dell SC440, install Windows Server 2003 Std.
- Add the machine to the domain.
- Install all the patches
- Install SQL 2005 Std.
- Add "Application Server" role
- Use the windows un-zip tool to extract the install file.
- Copy the files to the deploy path and create an IIS website for it.
- Update the web.config
- View the website 'http://localhost/Install/Default.aspx'
- Error.
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 type 'DotNetNuke.Common.Global'.
Source File: /global.asax Line: 1
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
Now here is what killed me in that list... Don't ask me WHY it caused issues, but I followed the same steps 3 times and this fixed it each time... Don't use the Windows un-zip tool. I used Win-RAR and all the sudden it worked. I guess file got corrupted or something. who knows.
0197c502-27f0-4ac0-ac62-369bd7d6a1af|0|.0
Tags:
Blog
by JasonRShaver
4. October 2007 16:39
|
Ok, this one confused me for over an hour today, so here it goes. I just got a new development machine up (Dell 390) and installed the following:
- Vista Business
- VS2005 (and Vista SP stuff)
- SQL2005
- WM5 SDK
- Turned UAC off
- Windows Mobile Device Center 6.1 (WMDC)
And then when I tried to cradle my Windows Mobile 5.0 Pocket PC Emulator using the Device Emulator Manager, nothing happend. So I went and did my normal checklist, Make sure WMDC is set to listen to connections using DMA, then uncheck it and recheck it (fixes it sometimes), restart the computer, double-check that VS is running in admin mode. Nothing worked.
It turns out that I was using the 1.0 version of the Device Emulator (the default installed). I installed the 2.0 version and everything worked like a charm.
You can tell if you have V2 by
- In your emulator, Help -> About and top line of text should be "Microsoft Device Emulator V2"
- In your emulator, File -> Configure -> Peripherals and if you have checkboxes for Battery, Speakerphone and such, then you are good.
Anyway, hopefully this saves someone some grief.
|
1b395fb1-d7e6-4b20-b748-c8782b9bd63e|0|.0
Tags:
Blog
by JasonRShaver
3. October 2007 16:39
When using .netTiers (2.0, 2.1, or 2.2), on a database that has replication enabled, the following is required to prevent the "Updating Columns with the rowguidcol property is not allowed." exception.
I found that the default behavior for updating a entity using SQL will try to update the RowGuid colomns, causing bugs for those of us using replication. I found a fix in part of an email by Taylor Durden (http://community.codesmithtools.com/forums/thread/23074.aspx) that goes like this:
Add this to the TemplateLib\CommonSqlCode.cs
/// <summary>
/// Check if a column is a rowguid column for replication
/// </summary>
/// <param name="column">DB table column to be checked</param>
/// <returns>Identity?</returns>
public bool IsRowGuidColumn(ColumnSchema column)
{
if (column.ExtendedProperties["CS_IsRowGuidCol"] != null)
return (bool)column.ExtendedProperties["CS_IsRowGuidCol"].Value;
return false;
}
and change this block in code around line 84 in \DataAccessLayer.SqlClient\StoredProceduresXml.cst
foreach (ColumnSchema column in cols)
{
if ( ! IsIdentityColumn(column) && ! IsComputed(column) && ! IsRowGuidColumn(column) )
colsUpdatable.Add(column);
if (column.NativeType.ToLower() == "timestamp")
RowVersion = column;
}
And this fixed this issue for me. I wanted to break this issue out into a seperate thread then Mr. Durden issue, but the credit belongs with him.
Jason R. Shaver
6510893a-5643-4c4e-98a2-af26729534a3|0|.0
Tags:
Blog
by JasonRShaver
3. October 2007 16:38
Let me just say that the Quickbooks SDK when used as the 'web service' method or the Quickbooks Web Connector (qbwc), is like hitting yourself in the face with a dead trout. A large one.
How it works (in breif) is they have a program on the client's machine that contacts your web service and asks it what work needs to be done, and then you tell a single bit of information you need. Then it calls in again returning that bit of information and if you return a int < 100 then it will call in again asking for a bit of work that needs to be done.
The issue with this is that it requires you to build what ends up being a complex finite state machine (FSM). I have a simple program that integrates items, customers, and invoices with Quickbooks and I have 14 states so far.
I also can't think of a good way to do the without requiring the web service to use sessions, another risk I wish to avoid.
Anyway, on the good side, this being done this way (the client making the calls to the webservice) means that you don't have to worry about NAT issues or creating SSL connections (SSL is required) or transport security issues, and that is good. Just requires a mind-set change. (Last FSM I worked on was a robots project that I really enjoyed).
3acbba49-0137-4450-b298-3b9c6f934b6a|0|.0
Tags:
Blog
by JasonRShaver
1. October 2007 16:38
fae34ea3-bcfa-4d3f-8b0d-5930a37b32a1|0|.0
Tags:
Blog