Click here to Skip to main content
15,920,031 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionAutomatic update db on regular intervals mvc Pin
Member 1402506315-Nov-18 18:10
Member 1402506315-Nov-18 18:10 
AnswerRe: Automatic update db on regular intervals mvc Pin
Member 1405668819-Nov-18 18:18
Member 1405668819-Nov-18 18:18 
GeneralRe: Automatic update db on regular intervals mvc Pin
Member 1402506319-Nov-18 18:37
Member 1402506319-Nov-18 18:37 
AnswerRe: Automatic update db on regular intervals mvc Pin
Nathan Minier20-Nov-18 1:37
professionalNathan Minier20-Nov-18 1: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 6:30
simpledeveloper15-Nov-18 6: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 8:05
mveRichard Deeming15-Nov-18 8: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 8:52
simpledeveloper15-Nov-18 8: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 1:08
mveRichard Deeming16-Nov-18 1: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 7:17
simpledeveloper16-Nov-18 7: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 7:37
mveRichard Deeming16-Nov-18 7: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 7:50
simpledeveloper16-Nov-18 7: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 8:11
mveRichard Deeming16-Nov-18 8: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 9:02
simpledeveloper16-Nov-18 9: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 9:11
mveRichard 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 9:30
simpledeveloper16-Nov-18 9: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 11:46
simpledeveloper16-Nov-18 11: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 2:01
mveRichard Deeming19-Nov-18 2: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 6:29
simpledeveloper19-Nov-18 6: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 7:50
mveRichard Deeming19-Nov-18 7: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 10:18
simpledeveloper20-Nov-18 10:18 
QuestionWhat technique can be used for printing ALL PAGES from crystal report? Pin
Member 1405550514-Nov-18 23:09
Member 1405550514-Nov-18 23:09 
AnswerRe: What technique can be used for printing ALL PAGES from crystal report? Pin
Member 1405668818-Nov-18 17:27
Member 1405668818-Nov-18 17:27 
QuestionWCF Service is giving faulted Exception Pin
simpledeveloper13-Nov-18 7:10
simpledeveloper13-Nov-18 7:10 
AnswerRe: WCF Service is giving faulted Exception Pin
Ali Al Omairi(Abu AlHassan)14-Nov-18 6:05
professionalAli Al Omairi(Abu AlHassan)14-Nov-18 6:05 
GeneralRe: WCF Service is giving faulted Exception Pin
simpledeveloper14-Nov-18 8:56
simpledeveloper14-Nov-18 8: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.