Click here to Skip to main content
14,429,934 members
   

ASP.NET

 
QuestionAutomatic update db on regular intervals mvc Pin
Member 1402506315-Nov-18 19:10
MemberMember 1402506315-Nov-18 19:10 
AnswerRe: Automatic update db on regular intervals mvc Pin
Member 1405668819-Nov-18 19:18
MemberMember 1405668819-Nov-18 19:18 
GeneralRe: Automatic update db on regular intervals mvc Pin
Member 1402506319-Nov-18 19:37
MemberMember 1402506319-Nov-18 19:37 
AnswerRe: Automatic update db on regular intervals mvc Pin
Nathan Minier20-Nov-18 2:37
professionalNathan Minier20-Nov-18 2:37 
QuestionI am using ReportViewerForMVC tool for my rdlc reports, I am getting the following exception on server but not locally, am I missing reference or something Pin
simpledeveloper15-Nov-18 7:30
Membersimpledeveloper15-Nov-18 7:30 
AnswerRe: I am using ReportViewerForMVC tool for my rdlc reports, I am getting the following exception on server but not locally, am I missing reference or something Pin
Richard Deeming15-Nov-18 9:05
communityengineerRichard Deeming15-Nov-18 9:05 
GeneralRe: I am using ReportViewerForMVC tool for my rdlc reports, I am getting the following exception on server but not locally, am I missing reference or something Pin
simpledeveloper15-Nov-18 9:52
Membersimpledeveloper15-Nov-18 9:52 
GeneralRe: I am using ReportViewerForMVC tool for my rdlc reports, I am getting the following exception on server but not locally, am I missing reference or something Pin
Richard Deeming16-Nov-18 2:08
communityengineerRichard Deeming16-Nov-18 2:08 
Using Value as Type will return null if the value cannot be converted to the type.

Try using a cast instead, just in case the value is of the wrong type:
@Html.ReportViewer((Microsoft.Reporting.WebForms.ReportViewer)ViewBag.ReportViewer)

If you still get a NullReferenceException, then you'll need to debug your code to make sure you're actually setting the ViewBag value.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: I am using ReportViewerForMVC tool for my rdlc reports, I am getting the following exception on server but not locally, am I missing reference or something Pin
simpledeveloper16-Nov-18 8:17
Membersimpledeveloper16-Nov-18 8:17 
GeneralRe: I am using ReportViewerForMVC tool for my rdlc reports, I am getting the following exception on server but not locally, am I missing reference or something Pin
Richard Deeming16-Nov-18 8:37
communityengineerRichard Deeming16-Nov-18 8:37 
GeneralRe: I am using ReportViewerForMVC tool for my rdlc reports, I am getting the following exception on server but not locally, am I missing reference or something Pin
simpledeveloper16-Nov-18 8:50
Membersimpledeveloper16-Nov-18 8:50 
GeneralRe: I am using ReportViewerForMVC tool for my rdlc reports, I am getting the following exception on server but not locally, am I missing reference or something Pin
Richard Deeming16-Nov-18 9:11
communityengineerRichard Deeming16-Nov-18 9:11 
GeneralRe: I am using ReportViewerForMVC tool for my rdlc reports, I am getting the following exception on server but not locally, am I missing reference or something Pin
simpledeveloper16-Nov-18 10:02
Membersimpledeveloper16-Nov-18 10:02 
GeneralRe: I am using ReportViewerForMVC tool for my rdlc reports, I am getting the following exception on server but not locally, am I missing reference or something Pin
Richard Deeming16-Nov-18 10:11
communityengineerRichard Deeming16-Nov-18 10:11 
GeneralRe: I am using ReportViewerForMVC tool for my rdlc reports, I am getting the following exception on server but not locally, am I missing reference or something Pin
simpledeveloper16-Nov-18 10:30
Membersimpledeveloper16-Nov-18 10:30 
GeneralRe: I am using ReportViewerForMVC tool for my rdlc reports, I am getting the following exception on server but not locally, am I missing reference or something Pin
simpledeveloper16-Nov-18 12:46
Membersimpledeveloper16-Nov-18 12:46 
GeneralRe: I am using ReportViewerForMVC tool for my rdlc reports, I am getting the following exception on server but not locally, am I missing reference or something Pin
Richard Deeming19-Nov-18 3:01
communityengineerRichard Deeming19-Nov-18 3:01 
GeneralRe: I am using ReportViewerForMVC tool for my rdlc reports, I am getting the following exception on server but not locally, am I missing reference or something Pin
simpledeveloper19-Nov-18 7:29
Membersimpledeveloper19-Nov-18 7:29 
GeneralRe: I am using ReportViewerForMVC tool for my rdlc reports, I am getting the following exception on server but not locally, am I missing reference or something Pin
Richard Deeming19-Nov-18 8:50
communityengineerRichard Deeming19-Nov-18 8:50 
GeneralRe: I am using ReportViewerForMVC tool for my rdlc reports, I am getting the following exception on server but not locally, am I missing reference or something Pin
simpledeveloper20-Nov-18 11:18
Membersimpledeveloper20-Nov-18 11:18 
QuestionWhat technique can be used for printing ALL PAGES from crystal report? Pin
Member 1405550515-Nov-18 0:09
MemberMember 1405550515-Nov-18 0:09 
AnswerRe: What technique can be used for printing ALL PAGES from crystal report? Pin
Member 1405668818-Nov-18 18:27
MemberMember 1405668818-Nov-18 18:27 
QuestionWCF Service is giving faulted Exception Pin
simpledeveloper13-Nov-18 8:10
Membersimpledeveloper13-Nov-18 8:10 
AnswerRe: WCF Service is giving faulted Exception Pin
Ali Al Omairi(Abu AlHassan)14-Nov-18 7:05
professionalAli Al Omairi(Abu AlHassan)14-Nov-18 7:05 
GeneralRe: WCF Service is giving faulted Exception Pin
simpledeveloper14-Nov-18 9:56
Membersimpledeveloper14-Nov-18 9:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.