.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Post New Web Links

Problem with Exporting RDLC to PDF while Using Unicode(Marathi)

Posted By:      Posted Date: October 19, 2010    Points: 0   Category :ASP.Net

I Have An RDLC Report in ASP.net 2.0  Application.and SQl Server2008

I have installed IndicaIME for Marathi for unicode.

When I export It in to PDF that will not display correct (Word In Marathi Format)  I USe Ariel Unicode Font
But it  will show some  extra character display with word

e.g Instead of displaying "Kishor" it will display "kshir" in marathi
What I have do ? For that just give link or code To export RDLC report in PDF ?

View Complete Post

More Related Resource Links

Unicode (Marathi) Font problem in SSRS


I Have An RDLC Report in ASP.net 2.0  Application.

When I export It in to PDF that will not display correct (Word In Marathi Format) if I USe Ariel Unicode Font
it will show some  extra character display with word
What I have do ? For that just give link or code To export RDLC report in PDF ?

I also tried iTextsharp (Third party tool to generate PDF) but when it genrate PDF  marathi Characters are not displaying. It shows marathi as  blank space.

Problem to use unicode chars in yahoo mail

Hi i have a problem to send email via smtpClient class to yahoo mail. if i send a unicode email from non-Yahoo account to yahoo mail, it works correctly (display unicode chars correctly without any making change), but when i send from yahoo account to yahoo mail, it does not display characters correctly and i should change it's encoding to UTF8. can anybody help me to work-around this problem ? Please see my previous thread in this link. thanks in advancehttp://www.codeproject.com/KB/codegen/DatabaseHelper.aspx

SSIS 2005 - Send Mail Task - signature appended to email is garbled - unicode problem?

Hi, I'm pretty new to SSIS so go easy on me. I have a Send Mail Task to notify if a file cannot be imported - the mailbody is created on the previous step by a VB.NET script task to include the name of the file and the path it's been archived to. The problem I'm having is that while the body of the email I've created is displaying fine, our company's Exchange server appends a signature to all emails, and this is coming up as undisplayable characters, presumably due to some kind of unicode encoding problem. I've tried casting the email body in an expression to DT_STR (doesn't work as DT_STR "cannot be converted to a supported type" which seems a bit odd but never mind), DT_WSTR (garbled signature), DT_TEXT/DT_NTEXT (strange error on this one - "Attempted to read or write protected memory") none of those ideas worked, and I'm a bit stumped now. Can anyone help? I'm using SSIS 2005 with SP3

SSRS Report Problem while Exporting into PDF

We are trying to generate a report in SSRS 2005 with Landscape  layout. The report if fine but when we export it into PDF format the result comes in 2 pages that is fine but there is an image in the footer which is only displaying in the last page of the report footer the text fileds are fine only image is not displaying in every page while exporting. Please guide.............

.RDLC report layout...huge problem!!

 Hi!I'm designing a layout for a report in VS2008 using SSRS/RDLC format. And every time I setup a part of that report i test it on my workstation to see if everything is ok. But, today, i finished the first page of that report and uploaded it to my hosting server (were it's going to be used), and when i press the button to convert the report to .pdf and download it the layout is completely ruined :-/When i do the same thing in my workstation every thing 'comes out' beautifully, but up on the server it doesn't :(Why is that happening? Can anyone help me?

rdlc page footer problem


hi all 

i want to show my footer in rdlc report only in last page ?how do i do it?

RDLC layout Problem


hi all

I have some problem about  rdlc report's layout,please help me

i have a table with some columns in that which some of them set for Hide Duplicates,now i want to show a special character  such as '-' or "" or ... instead of empty in duplicates column,see it:    

          name        family    tel 

          a                 b          c

          k                 z          ""    (real value is 'c' and  i want show "")

          u                 i           j


RDLC report times out after exporting


 I have a VS Studio 2008 application that uses the report viewer control in local mode. The session times out after a user exports a report in .pdf format. Can anyone suggest a remedy to this problem? Thanks

Reporting Services 2008 - footer problem when exporting to Word


I have a footer that I want to show up on the last page only. 

I use the following expression for the text box under text box properties --> visability

=IIF(Globals!TotalPages = Globals!PageNumber,

False, True)

When I run the report in reporting services, it does only print the footer on the last page.  When exported to Word, footer prints on all pages.

My questions: 

1.  Is my expression ignored in Word for the footer, so I will not be able to do this in the footer?

2.  Is there another way to have something print at the bottom of the last page that will be recognized when exported to MS Word (report size will vary based on data returned)? 

Any help is appreciated.

Kind regards.

a problem in work with unicode chars in WHERE clause



I'm designing a website for Persian language

I create a stored procedure that contain :

SELECT @sqlstring = ' SELECT TOP ' + CONVERT(nvarchar,@RowCountUser) + ' Stars FROM SpecialAds WHERE REPLACE(REPLACE(MainGroup,NCHAR(1610),NCHAR(1740)),NCHAR(1603),NCHAR(1705)) = ''REPLACE(REPLACE(' + @MainGroup + ',NCHAR(1610),NCHAR(1740)),NCHAR(1603),NCHAR(1705))'' AND Status = ''verified'' ORDER BY Stars Desc';

EXEC (@sqlstring)

no record is not returned and printed :

Invalid column name : ...

but when I change code above to :

SELECT TOP 5 Stars FROM SpecialA

Unicode problem from ashx to SQL Express


Hi everyone,

i have an sql express db with a table, containing a nvarchar(max) field.

If i add a text in SQL Management Studio, for example, running the query: UPDATE table SET htmlcontent=N'text with special character: SS' WHERE id = 1

everything is working fine!. The special unicode character S is saved into the field.

In ASP i have a generic handler which handles my data communication to and from the database. No matter what i try there, the S char is not accepted and

changed into a question mark. I have tried several things in SQL:

- stored proc with sp_executesql and parameters

- hardcoded query in the ashx file.. 

            sqlStr = "UPDATE ELEMENTS SET htmlcontent=N'" & myCleanResult & "' WHERE id=" & id

            connStringSQL = New SqlConnection(mySqlConnection)

            Dim myAdapter1 As New SqlCommand(sqlStr, connStringSQL)


            result = myAdapter1.ExecuteScalar()


Problem to display DBCS when exporting to PDF

Hi, I have created a report but when exporting to PDF I get "????" ____ characters, anyone has any ideas?

Exporting SharePoint profile picture to ActiveDirectory thumbnailPhoto attribute problem!



I am trying to export SharePoint profile Picture to ActiveDirectory thumbnailPhoto attribute.  Here's what I did so far :

  • FIM account has Replicating Directory Changes, Read and Write permissions on the users OU
  • Central Administration -> Manage service applications -> User Profile Service Application -> Manage User Properties -> Picture -> Edit -> Add New Mapping -> AD - thumbnailPhoto - export
  • Start Profile Synchronization
  • Result :

Stage SharePoint Server export
Additions 0
Updates 0
Unchanged 0
Successes 0
Failures 0

I have then found on the Internet that since My Sites are in https, I have to load the root certificate in SharePoint.  I use a "GeoTrust DV SSL CA" for My Sites so I have downloaded the GeoTrust_Global_CA.cer root certificate from GeoTrust and did the following :

  • Central Administration -> Security -> Manage Trust -> New -> GeoTrust - GeoTrust_Global_CA.cer
  • Result :

The Root Certificate that was just selected is inv

Path Too Long Problem. Accessing filenames longer than 260 chars using unicode and kernel32.dll.

I found this article a few weeks ago that provided a way to access files and folders past the 260 char length:


I put the code from "Finding Files and Folders" in a dll and wrote an app in vb accessing these functions.  However, the code randomly breaks on a specific kernel32 function call. 

I noticed that if the search finds a file (not folder) longer than 12 to 14 characters then it breaks on occasion.  This is strange because I would think it would either never break or always break.

Here's the line where it breaks:

// find next

found = FindNextFile(findHandle, out findData);

Any ideas?


exporting .rdlc to excel


Hello All.

I have a .rdlc report created in Visual Studio and Upon executing, I wish to have the user be able to export the resulting data to Excel.  How would I go about doing this?

Thanks in advance... 

problem with culture info in Report.rdlc



          Me with C#.net and using report viewer control I am populating reports in my Report.rdlc I have a table in which two field are money values I want to format these fields so that if there is a value like 2300 it should show as 2,300.00 but when in format property I typed c then it shows as $2,300.00 How can I remove $ symobol from the field

I had changed the current culture info and tested  its working fine for a new new value but still in the report $ is showing

 private static void Pr_NewMethod()
            int[] ARR ={ 3, 2, 2 };
            System.Globalization.CultureInfo cultureInfo = new System.Globalization.CultureInfo("en-US");
            System.Globalization.NumberFormatInfo NumberInfo = new System.Globalization.NumberFormatInfo();
            NumberInfo.CurrencySymbol = "";
            NumberInfo.CurrencyDecimalDigits = 3;

exporting a .rdlc to excel



This is probably a futile question, because I'm not sure it has an answer, but I'll give it a try anyway.


I've got an .rdlc report which I print from my .net app (C# Visual Studio 2005), where I use a RemoteReportPrinter object.  I give it as parameters the server name, report name, report parameters, etc.  Works fine.  My question is, I would live to do an analagous export of that report to Excel.  Set it up exactly the same, but have it export to Excel rather than print, probably using some other type of object than RemoteReportPrinter.

Anybody have any ideas as to how this could be done?


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend