It’s Khayer, Bangladesh



Deploy VS 2008 Window Project That use Crystal Report

I have to pass a terrible day for deploying a project where Cystal Report is used. I have used Install Shield 15 to make the installer of the project.  Project is installed to client pc hopefully, But when the user click the report generate button, System triger following error,

<code>Could not load file or assembly ‘CrystalDecisions.Windows.Forms, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304′ or one of its dependencies. The system cannot find the file specified.

</code>

Program does not find the assembly for generating report in the client PC. When i build the installer, Version =10.2.3600 is used which wrong. You can check it go to below directories,

C:/Windows/Assembly/

Now Solution, I have to spend the whole day for the solution, though i am experience in deploying web project of .NET 2.0  which use Crystal Report. Bussiness solution web site is one the complecated site in the web to me. It seems to me useless. Furtuantlly Microsoft forum help to solve the problem. I have to  install CRRedist2008_x86.msi in the Client PC to get desires assemblies. i have got the file in my development pc in following dirrectory,

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5

Then, at the end of the day i feel very relieve. Thanks Mirosoft foum.

Please Check these Link

Thanks
Khayer
GIS Programmer, CEGIS
Bangladesh



File Uploading tips in ASP.NET
February 3, 2009, 4:54 pm
Filed under: ASP.NET | Tags: ,

Error: Access denied

It is very common experience to every developer when he/she host a file uploader page.  Interestingly developer does not face this error in development PC.

The main reason of this problem is security issue of the host computer. Host pc does not allow write operation of IU or Guest user. But IU and guest user need write acces of upload folder in host pc.

the solutin if not very stadartd considering sercurity. folloe the belows steps,

1.  enable write access of virtual directory of the page using IIS(default value of write access is unchecked )

2. Right write click uploading folder of the site. In the security tab provide write access to Users, Internet Guest Account.

upload_share1

3. Complete

The main disadvantage of this technique is the security. Write access of IU user some time vulnerable. so, alternatively your can use database to store file instead of file system.

Thanks
Khayer
GIS Programmer, CEGIS
Bangladesh