|
Good day everyone,
I am using Crystal Report, my report file run on Crystal Report 10.0 is right, I use the Crystal Report Viewer in VB.NET for showing it, when I debug to Show() function, I got the alert "The request could not submitted for background processing." Please verify this problem.
I have to be sure before continue with this approach. So, please guide through your help.
Thanks for your help, Have a good day.
|
|
|
|
|
Good day everyone,
I am working on a application which will based on the 3-tier architecture. The system concerned to a health insurance marketing purposes. I chose .NET for developing its framework. This framework contains collection of the business objects. Application interface will be developed in the Flash 7.0. The transformation of data through its framework to the interface will do through the web services which will be used as a communication layer between Business Layer (Framework/Buiness Objects) to Presentation Layer (Developed in Flash 7.0). The Backend will be in SQL Server 2000.
My questions are:
a. I like to hear some comments on the above decided architecture.
b. How to make webservices effective in performance? As interface will use them for communication with the Framework (Business Objects) which will do all the retrieving and storing tasks.
c. I prefer to use VB.NET language to write code. Please, give an example of writing a business object which should be prior in performance rather than security. Pick User object as an example.
d. I did some work on the business objects. I have two classes one is doing all the db work and other holds the business rules. When you initiate its object, the business class, it inform the db class to load the required data in a DataSet object and use it to CUD (create, update and delete) tasks. Is this a acceptable approach to do?
I have to be sure before continue with this approach. So, please guide through your help.
Thanks for your help, Have a good day.
|
|
|
|
|
What is your reasoning behind using Flash for the presentation?
Cheers,
Simon
sig :: "Don't try to be like Jackie. There is only one Jackie.... Study computers instead.", Jackie Chan on career choices.
article :: animation mechanics in SVG blog:: brokenkeyboards "Most of us are programmers, but a few use VB", Christian Graus
My MSN: simon_stewart@hotmail.com
|
|
|
|
|
Main reason is to make application Browser independant.
|
|
|
|
|
What you're doing is making it ADSL dependant.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
myousuf wrote:
I like to hear some comments on the above decided architecture.
Unless you want lots of multimedia crap, there's no reason to use flash. ASP.NET does a good job of converting your code into HTML for different browsers. ASP.NET is also totally wasted if you're just going to host flash on each page.
myousuf wrote:
How to make webservices effective in performance? As interface will use them for communication with the Framework (Business Objects) which will do all the retrieving and storing tasks.
coarse granularity, mainly. What's your reason to use webservices ? Does your planned architecture demand the middle tier on a different machine to the web tier ( which is just going to serve flash pages ) ?
myousuf wrote:
I prefer to use VB.NET language to write code. Please, give an example of writing a business object which should be prior in performance rather than security. Pick User object as an example.
You prefer performance over security ? You want someone to write and entire user object for you as an example ? I don't think so.
myousuf wrote:
I did some work on the business objects. I have two classes one is doing all the db work and other holds the business rules. When you initiate its object, the business class, it inform the db class to load the required data in a DataSet object and use it to CUD (create, update and delete) tasks. Is this a acceptable approach to do?
Performance wise, DataSet's are expensive to create.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I get the following error When i access a function on a web service:
System.InvalidOperationException: There is an error in XML document (1, 681). ---> System.InvalidCastException: Cannot assign object of type System.Xml.XmlNode[] to an object of type System.String.
It looks like it is when the response is being deserialized. What i dont get is that .net generates the code to do this from the WSDL file. So is this a bug in .net or a problem with the WSDL file (niether of which i can do much about).
Also how am i going to fix it. If anyone has any ideas i can post the wsdl and the full error.
Jonathan
|
|
|
|
|
Hi all,
When i Run my Asp.net project.So, Aspnet_wp consume 100 % of CPU,I m using Win XP with SP2, VS 2003 and IIS 5.0,
i m also uninstall and then installl VS 2003 and IIS. but problem remain same.
plz advice
Thanx in advance
Sajjad Rizvi
|
|
|
|
|
|
imshally81 wrote:
m also uninstall and then installl VS 2003 and IIS. but problem remain same.
Sorry, but that is funny.
Your code is obviously stuck somewhere. Try running in debug and breaking to see where the problem is.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
We (previous company) had something similar at one stage.
Turned out that the "lead developer" was logging database errors to the database - including db not found type errors - so the error handling was recursing itself until the memory fell over.
Under some conditions some times the webserver would spike just like yours.
Maybe run Profiler and sp_who when this happens and see what's causing the damage.
Cheers,
Simon
sig :: "Don't try to be like Jackie. There is only one Jackie.... Study computers instead.", Jackie Chan on career choices.
article :: animation mechanics in SVG blog:: brokenkeyboards "Most of us are programmers, but a few use VB", Christian Graus
|
|
|
|
|
Thanx for all,
I solve the also,
it is Programing BUG......
a loop enter in the Infinite state, so this Problem occur,
I think it is not a DotNET bug....
Any Discussion or Comments are highly appreciated.....
Sajjad
|
|
|
|
|
imshally81 wrote:
I think it is not a DotNET bug....
That was immediately obvious to almost everyone, I think.
Never assume the bug is not yours, until you've established that it cannot possibly be. Even then, don't be too sure.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi.
I have to create some kind of event tracker class, which should register hooking handlers to events. I need a method
RegisterEvent (object target, Delegate handler)
in which I add handler to event (target). Target is probalby System.MulticastDelegate. Is it possible to do that, even when I don't know the event name? I want to avoid changing this method to
RegisterEvent(object target, Delegate handler, string eventName).
All examples that I've found use GetEvent(name) from reflection, and than EventInfo.AddHandler(..)
Pszat
|
|
|
|
|
I'm not sure what exactly you want. How can you subscribe to an event without having anything to identify it?
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
No idea how to do it if target is a delegate, but here is a way to add a handler to all the events in an object that are the same type as the handler:
public void RegisterEvents(object eventSource, Delegate handler)<br />
{<br />
if (eventSource == null || handler == null)<br />
{<br />
return;<br />
}<br />
<br />
EventInfo[] events = eventSource.GetType().GetEvents();<br />
<br />
if (events.Length > 0)<br />
{<br />
foreach (EventInfo eventInfo in events)<br />
{<br />
if (eventInfo.EventHandlerType == handler.GetType())<br />
{<br />
eventInfo.AddEventHandler(eventSource, handler);<br />
}<br />
}<br />
}<br />
}
"I think I speak on behalf of everyone here when I say huh?" - Buffy
|
|
|
|
|
when i want to handle the event from a remote object there is an error telling me Can Not find ... assembply.
the object can be referenced but not events.
i really appreciate any help since i couldnt understand how to solve it.
|
|
|
|
|
show me your codes , maybe i can help you
you can mail to gavin@m165.com
|
|
|
|
|
A new version of Portable.NET, the Free implementation of Common Language Infrastructure, is finally available. The new version features numerous performance improvements, fixes for WinForms and Xml, and many other changes - read the full list of changes. The new release also brings a new runtime package (at this stage for Windows systems only) - at just under 2MB its goal is to solve the problem of redistributing large runtimes. More details.
Full Portable.NET SDK for Windows will be available by the end of the week, so check back for updates
|
|
|
|
|
Subject says it all...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Can anyone tell me how to schedule a nightly team build on VS 2005 foundation build server? Also, what should a release build do besides copying the compiled files to production server?
|
|
|
|
|
|
Hi,
i got a (kind of graphic editor) c#.NET application where i needed to implement double buffering (using a memory bitmap).
now i got a real problem in my MouseMove handler when moving objects cause i gotta copy the whole bitmap to screen (using Graphics.DrawImage(...) ) on every MouseMove event (~ 1280 * 1024 px).
the problem is that GDI+ is soo f***in slow and takes about 50 millisec to render one memory bitmap to screen (i tried the same using c++, mfc and thus GDI32 and it takes about 6 to 8 msec / to copy a bitmap to screen [BitBlt(...) ]; and both times i've been using the QueryPerformanceCounter API to get an accurate execution time interval)
so am i missing anything or is GDI+ + c#.NET REALLY soooo slow?
is there ANY other way than porting the whole code to use imported GDI32 APIs ?
thanks alot!
daniel.
|
|
|
|
|
Are you using DrawImageUnscaled ? That's faster.
Other than that, why on earth do you need to copy the whole bitmap to screen every time you move the mouse ? Sounds like you need to optimise your code ( for example, just invalidate the area you're changing ). I've written paint programs in C# that refresh the screen on mouse move, and they work just fine.
Of course, it is still true that if you want speed, you should be using C++.
Christian Graus - Microsoft MVP - C++
P.S. It's also true that you can pinvoke GDI if you really want to.
|
|
|
|
|
i'm not using DrawImageUnscaled, yet. thanks for the hint, i'll try this!
>Other than that, why on earth do you need to copy the whole bitmap to screen every time you move the
>mouse ? Sounds like you need to optimise your code ( for example, just invalidate the area you're
>changing ). I've written paint programs in C# that refresh the screen on mouse move, and they work
>just fine.
well...you're right, i dont need to copy the whole bitmap on every MouseMove, but what if the user
creates an object that fills quite the whole screen and wants to move it? or when he scrolls the
working area? the graphics should be displayed smoothly regardless of the object's size...
no question that only invalidating the area i'm changing would be nice optimization, but it should
also work without, cause it is still possible that i'm required to copy (quite) the whole screen...
|
|
|
|